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: nodejs#4753
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Evan Lucas <[email protected]>
  • Loading branch information
silverwind authored and Myles Borins committed Feb 11, 2016
1 parent f60ace8 commit faf1ff1
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 faf1ff1

Please sign in to comment.