diff options
author | Anatoli Papirovski <apapirovski@mac.com> | 2017-10-16 18:37:14 -0400 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2017-10-19 13:54:14 -0400 |
commit | 3c0ebf5aca935ebacf4f5b862c2ad4fb67614bcb (patch) | |
tree | 84859056d1bd5a434d64e7baa4f0f1aca0f96bad /doc/.eslintrc.yaml | |
parent | bf1bacef6bc49fa39a272ca63b7635de3e5e7f08 (diff) | |
download | node-new-3c0ebf5aca935ebacf4f5b862c2ad4fb67614bcb.tar.gz |
tools: enable additional eslint rules
Enable additional rules that node either already adheres to
or it makes sense to do so going forward: for-direction,
accessor-pairs, no-lonely-if and symbol-description.
Fix all instances of no-lonely-if in lib & test and disable
accessor-pairs in test-util-inspect.
PR-URL: https://github.com/nodejs/node/pull/16243
Refs: https://eslint.org/docs/rules/for-direction
Refs: https://eslint.org/docs/rules/accessor-pairs
Refs: https://eslint.org/docs/rules/no-lonely-if
Refs: https://eslint.org/docs/rules/symbol-description
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/.eslintrc.yaml')
-rw-r--r-- | doc/.eslintrc.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/.eslintrc.yaml b/doc/.eslintrc.yaml index b269eb14e6..8038836fe3 100644 --- a/doc/.eslintrc.yaml +++ b/doc/.eslintrc.yaml @@ -6,6 +6,7 @@ rules: no-undef: off no-unused-vars: off strict: off + symbol-description: off # add new ECMAScript features gradually no-var: error |