-
Notifications
You must be signed in to change notification settings - Fork 171
chore(lint): migrate repo to oxlint and stabilize validation #4075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Saadnajmi
merged 7 commits into
microsoft:main
from
Saadnajmi:chore/oxlint-migration-review
Apr 24, 2026
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
bb4010e
chore(lint): replace eslint with oxlint tooling and config
Saadnajmi 0d737ba
refactor(lint): apply mechanical oxlint auto-fixes
Saadnajmi 57e0099
fix(lint): suppress exhaustive-deps for intentional mount-only hooks
Saadnajmi faf2b5e
fix(hooks): restructure hook dependencies and fix stale closures
Saadnajmi d04b0bf
docs(changeset): Migrate from ESLint to oxlint
Saadnajmi ba70449
fix(hooks): address reviewer feedback on useMergeRefs, useSlot, and b…
Saadnajmi acb261c
fix(ContextualMenu): restore onDismiss in Callout slot props
Saadnajmi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| --- | ||
| "@uifabricshared/foundation-composable": patch | ||
| "@fluentui-react-native/experimental-appearance-additions": patch | ||
| "@uifabricshared/theming-react-native": patch | ||
| "@uifabricshared/foundation-settings": patch | ||
| "@fluentui-react-native/experimental-activity-indicator": patch | ||
| "@fluentui-react-native/experimental-native-font-metrics": patch | ||
| "@uifabricshared/foundation-compose": patch | ||
| "@fluentui-react-native/experimental-native-date-picker": patch | ||
| "@uifabricshared/foundation-tokens": patch | ||
| "@fluentui-react-native/themed-stylesheet": patch | ||
| "@uifabricshared/themed-settings": patch | ||
| "@fluentui-react-native/contextual-menu": patch | ||
| "@fluentui-react-native/lint-config-rules": patch | ||
| "@uifabricshared/theme-registry": patch | ||
| "@fluentui-react-native/vibrancy-view": patch | ||
| "@fluentui-react-native/focus-trap-zone": patch | ||
| "@fluentui-react-native/notification": patch | ||
| "@uifabricshared/theming-ramp": patch | ||
| "@fluentui-react-native/experimental-menu-button": patch | ||
| "@fluentui-react-native/interactive-hooks": patch | ||
| "@fluentui-react-native/persona-coin": patch | ||
| "@fluentui-react-native/menu-button": patch | ||
| "@fluentui-react-native/radio-group": patch | ||
| "@fluentui-react-native/experimental-checkbox": patch | ||
| "@fluentui-react-native/dropdown": patch | ||
| "@fluentui-react-native/experimental-expander": patch | ||
| "@fluentui-react-native/overflow": patch | ||
| "@fluentui-react-native/composition": patch | ||
| "@fluentui-react-native/use-styling": patch | ||
| "@fluentui-react-native/android-theme": patch | ||
| "@fluentui-react-native/default-theme": patch | ||
| "@fluentui-react-native/theming-utils": patch | ||
| "@fluentui-react-native/focus-zone": patch | ||
| "@fluentui-react-native/pressable": patch | ||
| "@fluentui-react-native/separator": patch | ||
| "@fluentui-react-native/popover": patch | ||
| "@fluentui-react-native/experimental-shimmer": patch | ||
| "@fluentui-react-native/spinner": patch | ||
| "@fluentui-react-native/tooltip": patch | ||
| "@fluentui-react-native/use-tokens": patch | ||
| "@fluentui-react-native/theme-tokens": patch | ||
| "@fluentui-react-native/checkbox": patch | ||
| "@fluentui-react-native/experimental-avatar": patch | ||
| "@fluentui-react-native/drawer": patch | ||
| "@fluentui-react-native/experimental-shadow": patch | ||
| "@fluentui-react-native/framework": patch | ||
| "@fluentui-react-native/use-slots": patch | ||
| "@fluentui-react-native/apple-theme": patch | ||
| "@fluentui-react-native/theme-types": patch | ||
| "@fluentui-react-native/win32-theme": patch | ||
| "@fluentui-react-native/callout": patch | ||
| "@fluentui-react-native/divider": patch | ||
| "@fluentui-react-native/persona": patch | ||
| "@fluentui-react-native/tablist": patch | ||
| "@fluentui-react-native/use-slot": patch | ||
| "@fluentui-react-native/avatar": patch | ||
| "@fluentui-react-native/button": patch | ||
| "@fluentui-react-native/switch": patch | ||
| "@fluentui-react-native/badge": patch | ||
| "@fluentui-react-native/input": patch | ||
| "@fluentui-react-native/stack": patch | ||
| "@fluentui-react-native/chip": patch | ||
| "@fluentui-react-native/icon": patch | ||
| "@fluentui-react-native/link": patch | ||
| "@fluentui-react-native/menu": patch | ||
| "@fluentui-react-native/text": patch | ||
| "@fluentui-react-native/theme": patch | ||
| "@fluentui-react-native/framework-base": patch | ||
| "@fluentui/react-native": patch | ||
| "@fluentui-react-native/adapters": patch | ||
| "@fluentui-react-native/styling-utils": patch | ||
| "@fluentui-react-native/tokens": patch | ||
| "@fluentui-react-native/tester": patch | ||
| "@fluentui-react-native/codemods": patch | ||
| --- | ||
|
|
||
| Migrate from ESLint to oxlint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import baseConfig from '@fluentui-react-native/lint-config-rules'; | ||
| import { defineConfig } from 'oxlint'; | ||
|
|
||
| export default defineConfig({ | ||
| extends: [baseConfig], | ||
| rules: { | ||
| '@rnx-kit/no-export-all': 'off', | ||
| 'typescript/class-literal-property-style': 'off', | ||
| 'typescript/no-duplicate-enum-values': 'off', | ||
| 'typescript/no-invalid-void-type': 'off', | ||
| }, | ||
| }); | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
apps/component-generator/component-templates/ComponentTemplate/eslint.config.js
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import baseConfig from '@fluentui-react-native/lint-config-rules'; | ||
| import { defineConfig } from 'oxlint'; | ||
|
|
||
| export default defineConfig({ | ||
| extends: [baseConfig], | ||
| rules: { | ||
| '@rnx-kit/no-export-all': 'off', | ||
| '@rnx-kit/no-foreach-with-captured-variables': 'off', | ||
| 'react-hooks/exhaustive-deps': 'off', | ||
| 'typescript/array-type': 'off', | ||
| }, | ||
|
JasonVMo marked this conversation as resolved.
|
||
| }); | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.