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 <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
  • Loading branch information
silverwind authored and Myles Borins committed Feb 15, 2016
1 parent 447347c commit 837ebd1
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 837ebd1

Please sign in to comment.