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 <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
  • Loading branch information
silverwind authored and Myles Borins committed Jan 28, 2016
1 parent 8557c39 commit f25006a
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 @@ -65,8 +65,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 f25006a

Please sign in to comment.