mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
tools: enable no-useless-backreference lint rule
PR-URL: https://github.com/nodejs/node/pull/31400 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
bcf152e2d0
commit
ecf842ec27
|
|
@ -274,6 +274,7 @@ module.exports = {
|
||||||
functions: false,
|
functions: false,
|
||||||
variables: false,
|
variables: false,
|
||||||
}],
|
}],
|
||||||
|
'no-useless-backreference': 'error',
|
||||||
'no-useless-call': 'error',
|
'no-useless-call': 'error',
|
||||||
'no-useless-catch': 'error',
|
'no-useless-catch': 'error',
|
||||||
'no-useless-concat': 'error',
|
'no-useless-concat': 'error',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user