We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d6914b + 9f6fc9f commit b716b12Copy full SHA for b716b12
.eslintrc eslint.config.js.eslintrc renamed to eslint.config.js
@@ -1,9 +1,8 @@
1
-{
2
- "root": true,
3
- "parserOptions": {
+module.exports = [{
+ languageOptions: {
4
"ecmaVersion": 2017
5
},
6
- "rules": {
+ rules: {
7
"brace-style": ["error", "1tbs"],
8
"curly": "error",
9
"eol-last": ["error", "always"],
@@ -21,4 +20,4 @@
21
20
"radix": "error",
22
"semi": ["error", "always"],
23
}
24
-}
+}];
package.json
@@ -17,7 +17,7 @@
17
"css variables"
18
],
19
"scripts": {
- "lint": "eslint .",
+ "lint": "eslint",
"test": "tap test/*.js",
"preversion": "npm run lint && npm test",
"postversion": "git push && git push --tags"
0 commit comments