diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-11-28 08:19:55 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-11-30 13:37:23 +0100 |
commit | 7fc5980cfe79c9b7ff19837397823a583c9fd8fe (patch) | |
tree | cf999c713248005a8bfa273ac6a6af71535a8e80 /lib/.eslintrc.yaml | |
parent | 0da6983cdad80dad8c1d4155b1bc887ce37d9c40 (diff) | |
download | android-node-v8-7fc5980cfe79c9b7ff19837397823a583c9fd8fe.tar.gz android-node-v8-7fc5980cfe79c9b7ff19837397823a583c9fd8fe.tar.bz2 android-node-v8-7fc5980cfe79c9b7ff19837397823a583c9fd8fe.zip |
lib: enforce use of Boolean from primordials
Refs: https://github.com/nodejs/node/issues/30697
PR-URL: https://github.com/nodejs/node/pull/30698
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@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 1b75d7e742..d50f6f2f36 100644 --- a/lib/.eslintrc.yaml +++ b/lib/.eslintrc.yaml @@ -11,6 +11,8 @@ rules: - error - name: Array message: "Use `const { Array } = primordials;` instead of the global." + - name: Boolean + message: "Use `const { Boolean } = primordials;` instead of the global." - name: JSON message: "Use `const { JSON } = primordials;` instead of the global." - name: Math |