Skip to content

Commit

Permalink
migrate to flat eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jul 4, 2023
1 parent 12e237e commit b9b06b1
Show file tree
Hide file tree
Showing 9 changed files with 294 additions and 241 deletions.
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,
"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

0 comments on commit b9b06b1

Please sign in to comment.