Skip to content

Commit c1074cb

Browse files
ci: change ESLint options to use "error" and "warn" instead of numbers (#409)
1 parent df0ac96 commit c1074cb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.eslintrc.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
"rules": {
1313
"indent": ["error", 2, { "SwitchCase": 1 }],
1414
"linebreak-style": ["error", "unix"],
15-
"no-trailing-spaces": 2,
16-
"eol-last": 2,
15+
"no-trailing-spaces": "error",
16+
"eol-last": "error",
1717
"space-in-parens": ["error", "never"],
18-
"no-multiple-empty-lines": 1,
18+
"no-multiple-empty-lines": "warn",
1919
"prefer-const": "error",
2020
"space-infix-ops": "error",
2121
"no-useless-escape": "off",
2222
"require-atomic-updates": "off",
23-
"no-var": 1,
24-
"no-await-in-loop" : 1
23+
"no-var": "warn",
24+
"no-await-in-loop" : "warn"
2525
},
2626
"globals" : {
2727
"Parse" : true

0 commit comments

Comments
 (0)