Browse Source

tools: enable space-in-parens ESLint rule

Ref: http://eslint.org/docs/rules/space-in-parens.html
PR-URL: https://github.com/nodejs/node/pull/4753
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
v5.x
Roman Reiss 9 years ago
committed by Evan Lucas
parent
commit
8f4f5b3ca5
  1. 4
      .eslintrc

4
.eslintrc

@ -67,8 +67,10 @@ rules:
eol-last: 2 eol-last: 2
## no trailing spaces ## no trailing spaces
no-trailing-spaces: 2 no-trailing-spaces: 2
# require space after keywords, eg 'for (..)' ## require space after keywords, eg 'for (..)'
space-after-keywords: 2 space-after-keywords: 2
## no leading/trailing spaces in parens
space-in-parens: [2, "never"]
# ECMAScript 6 # ECMAScript 6
# list: http://eslint.org/docs/rules/#ecmascript-6 # list: http://eslint.org/docs/rules/#ecmascript-6

Loading…
Cancel
Save