diff options
author | Roman Reiss <me@silverwind.io> | 2015-06-28 17:42:35 +0200 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2015-06-29 19:04:16 +0200 |
commit | e3f9335c407602f7bd5f61a8697198d05cb5653b (patch) | |
tree | 83dd03e9d7d5e3bdcc6d1615a55b5481447502a8 /.eslintrc | |
parent | d91e10b3bd4f3011befa91d68a4305a0f438c62e (diff) | |
download | nodejs-e3f9335c407602f7bd5f61a8697198d05cb5653b.tar.gz nodejs-e3f9335c407602f7bd5f61a8697198d05cb5653b.tar.bz2 nodejs-e3f9335c407602f7bd5f61a8697198d05cb5653b.zip |
tools: re-enable comma-spacing linter rule
The rule was disabled because of an eslint bug which is now resolved.
All code in lib was already conforming and only test code needed a few
changes to make the linter happy with this rule enabled.
Ref: https://github.com/eslint/eslint/issues/2408
PR-URL: https://github.com/nodejs/io.js/pull/2072
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-by: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Alex Kocharin <alex@kocharin.ru>
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -43,8 +43,7 @@ rules: ## 2 space indentation indent: [2, 2] ## add space after comma - ## set to 'warn' because of https://github.com/eslint/eslint/issues/2408 - comma-spacing: 1 + comma-spacing: 2 ## put semi-colon semi: 2 ## require spaces operator like var sum = 1 + 1; |