Skip to content

Commit 0cbe9a9

Browse files
committed
Update eslint config file format
1 parent 9dedae5 commit 0cbe9a9

File tree

3 files changed

+4932
-2928
lines changed

3 files changed

+4932
-2928
lines changed

.eslintrc renamed to eslint.config.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
{
2-
"root": true,
3-
"parserOptions": {
1+
module.exports = [{
2+
languageOptions: {
43
"ecmaVersion": 2017
54
},
6-
"rules": {
5+
rules: {
76
"brace-style": ["error", "1tbs"],
87
"curly": "error",
98
"eol-last": ["error", "always"],
@@ -21,4 +20,4 @@
2120
"radix": "error",
2221
"semi": ["error", "always"],
2322
}
24-
}
23+
}];

0 commit comments

Comments
 (0)