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:
cjihrig 2020-02-28 18:37:37 -05:00 committed by Anna Henningsen
parent b4ca247ee1
commit 4f87b4f4ba
No known key found for this signature in database
GPG Key ID: A94130F0BFC8EBE9

View File

@ -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',