Skip to content

Commit b76b919

Browse files
brendanashworthrvagg
authored andcommitted
tools: enable space-after-keywords in eslint
Requires that you do: if (x) { ... } Rather than: if(x) { ... }
1 parent 5df06fd commit b76b919

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ rules:
6666
eol-last: 2
6767
## no trailing spaces
6868
no-trailing-spaces: 2
69+
# require space after keywords, eg 'for (..)'
70+
space-after-keywords: 2
6971

7072
# Strict Mode
7173
# list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode

0 commit comments

Comments
 (0)