Browse Source

tools: enable space-after-keywords in eslint

Requires that you do:

  if (x) { ... }

Rather than:

  if(x) { ... }
v4.0.0-rc
Brendan Ashworth 9 years ago
parent
commit
96a2b2d54d
  1. 2
      .eslintrc

2
.eslintrc

@ -66,6 +66,8 @@ rules:
eol-last: 2
## no trailing spaces
no-trailing-spaces: 2
# require space after keywords, eg 'for (..)'
space-after-keywords: 2
# Strict Mode
# list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode

Loading…
Cancel
Save