diff options
author | Sebastien Ahkrin <sebastien48criquet@gmail.com> | 2019-11-28 10:30:51 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-11-30 13:58:25 +0100 |
commit | 2070d3f8eb14ca9cc5c2e23824b20d700d7183be (patch) | |
tree | 2624b2c21195851d06479bc2e5897a43d80beb25 /lib/.eslintrc.yaml | |
parent | 1f9a5ae7aadd073ac61933226687a4483f8eccf4 (diff) | |
download | node-new-2070d3f8eb14ca9cc5c2e23824b20d700d7183be.tar.gz |
lib: enforce use of primordial Number
PR-URL: https://github.com/nodejs/node/pull/30700
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'lib/.eslintrc.yaml')
-rw-r--r-- | lib/.eslintrc.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/.eslintrc.yaml b/lib/.eslintrc.yaml index d50f6f2f36..2823b7aa0d 100644 --- a/lib/.eslintrc.yaml +++ b/lib/.eslintrc.yaml @@ -17,6 +17,8 @@ rules: message: "Use `const { JSON } = primordials;` instead of the global." - name: Math message: "Use `const { Math } = primordials;` instead of the global." + - name: Number + message: "Use `const { Number } = primordials;` instead of the global." - name: Object message: "Use `const { Object } = primordials;` instead of the global." - name: Reflect |