Skip to content

Commit

Permalink
tools: enable space-after-keywords in eslint
Browse files Browse the repository at this point in the history
Requires that you do:

  if (x) { ... }

Rather than:

  if(x) { ... }
  • Loading branch information
brendanashworth authored and rvagg committed Aug 23, 2015
1 parent 5df06fd commit b76b919
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b76b919

Please sign in to comment.