diff options
author | Rich Trott <rtrott@gmail.com> | 2022-01-09 07:57:37 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2022-01-13 17:11:13 -0800 |
commit | 9bfe60fc20cd7d4a53b5480532a77153fd165987 (patch) | |
tree | 9d1902471088b655c1fc1801b18947fce0c77ca9 /.eslintrc.js | |
parent | 94abcbde8b94fe050aa72aca27ceedcd45b507ce (diff) | |
download | node-new-9bfe60fc20cd7d4a53b5480532a77153fd165987.tar.gz |
tools: enable ESLint no-sparse-arrays rule
PR-URL: https://github.com/nodejs/node/pull/41463
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 0fd0a15eb3..76941cd1a6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -275,6 +275,7 @@ module.exports = { 'no-self-compare': 'error', 'no-setter-return': 'error', 'no-shadow-restricted-names': 'error', + 'no-sparse-arrays': 'error', 'no-tabs': 'error', 'no-template-curly-in-string': 'error', 'no-this-before-super': 'error', |