Skip to content

Commit 6f2390a

Browse files
author
Germain
authored
Switch ESLint warnings to be errors instead (#2814)
1 parent dddc0ae commit 6f2390a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.eslintrc.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ module.exports = {
2020
// NOTE: These rules are frozen and new rules should not be added here.
2121
// New changes belong in https://github.com/matrix-org/eslint-plugin-matrix-org/
2222
rules: {
23-
"no-var": ["warn"],
24-
"prefer-rest-params": ["warn"],
25-
"prefer-spread": ["warn"],
26-
"one-var": ["warn"],
27-
"padded-blocks": ["warn"],
28-
"no-extend-native": ["warn"],
29-
"camelcase": ["warn"],
23+
"no-var": ["error"],
24+
"prefer-rest-params": ["error"],
25+
"prefer-spread": ["error"],
26+
"one-var": ["error"],
27+
"padded-blocks": ["error"],
28+
"no-extend-native": ["error"],
29+
"camelcase": ["error"],
3030
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
3131
"space-before-function-paren": ["error", {
3232
"anonymous": "never",

0 commit comments

Comments
 (0)