Skip to content
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

Migrate to eslint.config.js #15748

Merged
merged 2 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
200 changes: 0 additions & 200 deletions .eslintrc.cjs

This file was deleted.

5 changes: 2 additions & 3 deletions .vscode/settings.example.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"eslint.experimental.useFlatConfig": true,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heads up for contributors:
If you are using VSCode, please add this line to your project config after this PR gets merged, otherwise the linter extension will not work.

"json.schemas": [
{
"fileMatch": [
Expand All @@ -8,9 +9,7 @@
"url": "./packages/babel-helper-fixtures/data/schema.json"
},
{
"fileMatch": [
"/packages/babel-parser/test/fixtures/**/options.json"
],
"fileMatch": ["/packages/babel-parser/test/fixtures/**/options.json"],
"url": "./packages/babel-parser/test/schema.json"
}
]
Expand Down
2 changes: 1 addition & 1 deletion Makefile.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Makefile.source.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ const EslintArgs = [
"*.{js,cjs,mjs,ts}",
"--format",
"codeframe",
"--ext",
".js,.cjs,.mjs,.ts",
];

const YARN_PATH = shell.which("yarn").stdout;
Expand Down