diff options
author | Roman Reiss <me@silverwind.io> | 2015-06-13 21:33:46 +0200 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2015-06-15 16:42:01 +0200 |
commit | 3777f415625ce538de5edbb19f7330356da190a8 (patch) | |
tree | e1c6485d8c740b3ac45d568de228d2e16485c64b /.eslintrc | |
parent | fb8811d95ec3d644f60db24f4a816f8c05cd9ad5 (diff) | |
download | node-new-3777f415625ce538de5edbb19f7330356da190a8.tar.gz |
tools: enable whitespace related rules in eslint
Enables rules for trailing whitespace, final newline and maximum
consecutive empty lines.
PR-URL: https://github.com/nodejs/io.js/pull/1971
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -59,6 +59,12 @@ rules: new-parens: 2 ## max 80 length max-len: [2, 80, 2] + ## max 2 consecutive empty lines + no-multiple-empty-lines: [2, {max: 2}] + ## require newline at end of files + eol-last: 2 + ## no trailing spaces + no-trailing-spaces: 2 # Strict Mode # list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode |