Skip to content

Commit

Permalink
tools: enable space-in-parens ESLint rule
Browse files Browse the repository at this point in the history
Ref: http://eslint.org/docs/rules/space-in-parens.html
PR-URL: #4753
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
  • Loading branch information
silverwind authored and evanlucas committed Jan 19, 2016
1 parent 937add3 commit c33f6a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ rules:
eol-last: 2
## no trailing spaces
no-trailing-spaces: 2
# require space after keywords, eg 'for (..)'
## require space after keywords, eg 'for (..)'
space-after-keywords: 2
## no leading/trailing spaces in parens
space-in-parens: [2, "never"]

# ECMAScript 6
# list: http://eslint.org/docs/rules/#ecmascript-6
Expand Down

0 comments on commit c33f6a8

Please sign in to comment.