File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ description: "disallow capturing groups that do not behave as one would expect"
66---
77# regexp/no-misleading-capturing-group
88
9+ 💡 This rule is manually fixable by [ editor suggestions] ( https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions ) .
10+
11+ <!-- end auto-generated rule header -->
12+
913> disallow capturing groups that do not behave as one would expect
1014
1115- :exclamation : <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
@@ -59,6 +63,10 @@ var foo = /^(a*).+/
5963
6064 Because this behavior might be intentional, some users might want to turn off this type of reporting.
6165
66+ ## :rocket : Version
67+
68+ :exclamation : <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
69+
6270## :mag : Implementation
6371
6472- [ Rule source] ( https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/no-misleading-capturing-group.ts )
Original file line number Diff line number Diff line change 2424 "test:debug" : " mocha --require ts-node/register/transpile-only \" tests/**/*.ts\" --reporter dot --timeout 60000" ,
2525 "test:watch" : " npm run test:base -- --watch" ,
2626 "update" : " ts-node --transpile-only ./tools/update.ts && npm run eslint-fix && npm run update:eslint-docs" ,
27- "update:eslint-docs" : " eslint-doc-generator" ,
27+ "update:eslint-docs" : " npm run build && eslint-doc-generator" ,
2828 "new" : " ts-node ./tools/new-rule.ts" ,
2929 "docs:watch" : " vitepress dev docs" ,
3030 "docs:build" : " vitepress build docs" ,
You can’t perform that action at this time.
0 commit comments