diff options
author | cjihrig <cjihrig@gmail.com> | 2020-01-05 22:49:27 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2020-01-08 00:22:25 -0500 |
commit | ba98d9ab2c7ca03fdd2016818628610c42a04b56 (patch) | |
tree | b78ab02391a69e65e5c64f1f94bc0b2c28ff1d19 /test/.eslintrc.yaml | |
parent | a494d127236d09e4413631c33ee95c1324eb8814 (diff) | |
download | node-new-ba98d9ab2c7ca03fdd2016818628610c42a04b56.tar.gz |
lib,tools,test: remove custom number-isnan rule
This commit removes the custom number-isnan ESLint rule in
favor of the no-restricted-syntax rule. It also applies the
rule across the entire codebase, instead of just the test/
directory.
PR-URL: https://github.com/nodejs/node/pull/31211
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/.eslintrc.yaml')
-rw-r--r-- | test/.eslintrc.yaml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/.eslintrc.yaml b/test/.eslintrc.yaml index 81e4703220..86d4b595e7 100644 --- a/test/.eslintrc.yaml +++ b/test/.eslintrc.yaml @@ -18,7 +18,6 @@ rules: node-core/crypto-check: error node-core/eslint-check: error node-core/inspector-check: error - node-core/number-isnan: error ## common module is mandatory in tests node-core/required-modules: - error |