diff options
author | Rich Trott <rtrott@gmail.com> | 2022-01-09 19:45:19 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2022-01-14 04:12:05 +0300 |
commit | dcc368f4bef5b763b8ef20ef7dacbfec27c2eadd (patch) | |
tree | 70c5a3ce1e15f717c3742ac41cf58e324f05c159 /.eslintrc.js | |
parent | 592f1845faaafb35a378aad15718da5cd73321a1 (diff) |
tools,lib,test: enable ESLint no-regex-spaces 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 3231e3dff3f..b724276db5f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -215,6 +215,7 @@ module.exports = { 'no-path-concat': 'error', 'no-proto': 'error', 'no-redeclare': ['error', { 'builtinGlobals': false }], + 'no-regex-spaces': 'error', 'no-restricted-modules': ['error', 'sys'], /* eslint-disable max-len */ 'no-restricted-properties': [ |