diff --git a/config/eslint.yml b/config/eslint.yml index b3440cc26..b00611330 100644 --- a/config/eslint.yml +++ b/config/eslint.yml @@ -397,7 +397,8 @@ rules: - error regexp/no-unused-capturing-group: - error - - fixable: false + - allowNamed: false + fixable: false regexp/no-useless-assertions: - error regexp/no-useless-backreference: diff --git a/package-lock.json b/package-lock.json index 9446b8d15..fffcf57a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "eslint-plugin-ava": "14.0.0", "eslint-plugin-jsdoc": "47.0.2", "eslint-plugin-jsonc": "2.11.2", - "eslint-plugin-regexp": "2.1.2", + "eslint-plugin-regexp": "2.2.0", "eslint-plugin-yml": "1.11.0", "fast-check": "3.15.0", "husky": "8.0.3", @@ -5512,9 +5512,9 @@ } }, "node_modules/eslint-plugin-regexp": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-regexp/-/eslint-plugin-regexp-2.1.2.tgz", - "integrity": "sha512-nnhNqHblaD8YTJiEHfyVRhiw8sm0eFQ9h+ee3rMqJhf2R9sJWbSXkjrLxIeCNZSNqitUOdaYFfrPVyvS9i72AA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-regexp/-/eslint-plugin-regexp-2.2.0.tgz", + "integrity": "sha512-0kwpiWiLRVBkVr3oIRQLl196sXP/NF6DQFefv9jtR4ZOgQR+6WID2pIZ0I+wIt54qgBPwBB7Gm2a+ueh8/WsFQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", diff --git a/package.json b/package.json index 74d978194..c035dc8c0 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "eslint-plugin-ava": "14.0.0", "eslint-plugin-jsdoc": "47.0.2", "eslint-plugin-jsonc": "2.11.2", - "eslint-plugin-regexp": "2.1.2", + "eslint-plugin-regexp": "2.2.0", "eslint-plugin-yml": "1.11.0", "fast-check": "3.15.0", "husky": "8.0.3",