Skip to content

Commit d3695b1

Browse files
authored
Migrates to Eslint's flat config (#6276)
## What's the problem this PR addresses? This lets us remove the Rushstack fix, and dogfood the VSCode SDK with the flat config (which is the only available config in Eslint 9). I would have migrated us to Eslint 9, but eslint-plugin-react [isn't compatible yet](jsx-eslint/eslint-plugin-react#3699). ## How did you fix it? Migrate to eslint.config.mjs. ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed.
1 parent cdb7f3c commit d3695b1

File tree

193 files changed

+2534
-1740
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+2534
-1740
lines changed

β€Ž.eslintignore

Lines changed: 0 additions & 27 deletions
This file was deleted.

β€Ž.eslintrc.js

Lines changed: 0 additions & 60 deletions
This file was deleted.

β€Ž.pnp.cjs

Lines changed: 1210 additions & 878 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ž.pnp.loader.mjs

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ž.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"watchDirectory": "useFsEvents"
88
},
99
"npm.packageManager": "yarn",
10+
"eslint.experimental.useFlatConfig": true,
1011
"eslint.validate": [
1112
"javascript",
1213
"typescript",
66.7 KB
Binary file not shown.
-66.5 KB
Binary file not shown.
-136 KB
Binary file not shown.
137 KB
Binary file not shown.
6.01 KB
Binary file not shown.

0 commit comments

Comments
Β (0)