Skip to content

Commit 4b0153a

Browse files
authored
Upgrade some eslint whitespace warnings to errors (#4837)
Otherwise people get random changes in their PRs when they run `tools/sigh lint --fix`
1 parent 3acb7e7 commit 4b0153a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

config/eslintrc.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
]
3636
],
3737

38-
"no-trailing-spaces": 1,
39-
"eol-last": 1,
38+
"no-trailing-spaces": "error",
39+
"eol-last": "error",
4040

4141
// Things we do, but probably shouldn't.
4242
"no-console": "off",
@@ -70,7 +70,6 @@
7070
"linebreak-style": "off",
7171
"no-multi-spaces": "off",
7272
"keyword-spacing": [1, {"before": true, "after": true}],
73-
"no-constant-condition": "off",
7473

7574
// Always require .js extension for imported files, but not for node packages.
7675
"import/extensions": [1, "always", {"ignorePackages": true}]

0 commit comments

Comments
 (0)