diff options
author | Anatoli Papirovski <apapirovski@mac.com> | 2017-10-17 01:37:14 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2017-10-24 00:21:11 +0300 |
commit | 509b3b81d68095cee8a0c732b527072bc9537260 (patch) | |
tree | 1890b6b09113740971d7e97aeabd21a44ce7118b /doc | |
parent | 0ddb00d3c224184c0ad6efa8a8bdae0fcebeb13e (diff) |
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')
-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 b269eb14e62..8038836fe31 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 |