mirror of https://github.com/nodejs/node.git
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>pull/31911/merge
parent
b4ca247ee1
commit
4f87b4f4ba
|
@ -274,6 +274,7 @@ module.exports = {
|
|||
functions: false,
|
||||
variables: false,
|
||||
}],
|
||||
'no-useless-backreference': 'error',
|
||||
'no-useless-call': 'error',
|
||||
'no-useless-catch': 'error',
|
||||
'no-useless-concat': 'error',
|
||||
|
|
Loading…
Reference in New Issue