Switch from prettier to oxfmt (#33844)

* Switch from prettier to oxfmt

* Make knip happy

* Make knip happy

* Apply suggestion from @t3chguy

* Rename .oxfmtrc.json to .oxfmtrc.jsonc

* Make oxfmt happier
This commit is contained in:
Michael Telatynski
2026-06-16 13:17:18 +01:00
committed by GitHub
parent 5d93490547
commit eca2f39dbb
28 changed files with 399 additions and 217 deletions
@@ -100,9 +100,9 @@ export interface IProps extends MenuProps {
"closeOnInteraction"?: boolean;
// Function to be called on menu close
onFinished(this: void): void;
"onFinished"(this: void): void;
// on resize callback
windowResize?(this: void): void;
"windowResize"?(this: void): void;
// Role & label for accessibility
"role"?: AriaRole;
@@ -269,8 +269,8 @@ export default class ContextMenu extends React.PureComponent<React.PropsWithChil
focusLock,
managed,
wrapperClassName,
"chevronFace": propsChevronFace,
"chevronOffset": propsChevronOffset,
chevronFace: propsChevronFace,
chevronOffset: propsChevronOffset,
mountAsChild,
role,
"aria-label": ariaLabel,