diff --git a/index.js b/index.js index ea61401..864ba0f 100644 --- a/index.js +++ b/index.js @@ -193,7 +193,12 @@ module.exports = { allowEmptyReject: true, }, ], - 'prefer-regex-literals': 'error', + 'prefer-regex-literals': [ + 'error', + { + disallowRedundantWrapping: true, + }, + ], radix: 'error', // Disabled for now as it causes too much churn