Skip to content

Commit 8f4f5b3

Browse files
silverwindevanlucas
authored andcommitted
tools: enable space-in-parens ESLint rule
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]>
1 parent eb2b8c6 commit 8f4f5b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.eslintrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ rules:
6767
eol-last: 2
6868
## no trailing spaces
6969
no-trailing-spaces: 2
70-
# require space after keywords, eg 'for (..)'
70+
## require space after keywords, eg 'for (..)'
7171
space-after-keywords: 2
72+
## no leading/trailing spaces in parens
73+
space-in-parens: [2, "never"]
7274

7375
# ECMAScript 6
7476
# list: http://eslint.org/docs/rules/#ecmascript-6

0 commit comments

Comments
 (0)