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 committed Aug 21, 2015
1 parent f46676e commit 2e2f255
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 2e2f255

Please sign in to comment.