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"
6
6
---
7
7
# regexp/no-misleading-capturing-group
8
8
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
+
9
13
> disallow capturing groups that do not behave as one would expect
10
14
11
15
- :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*).+/
59
63
60
64
Because this behavior might be intentional, some users might want to turn off this type of reporting.
61
65
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
+
62
70
## :mag : Implementation
63
71
64
72
- [ 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 24
24
"test:debug" : " mocha --require ts-node/register/transpile-only \" tests/**/*.ts\" --reporter dot --timeout 60000" ,
25
25
"test:watch" : " npm run test:base -- --watch" ,
26
26
"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" ,
28
28
"new" : " ts-node ./tools/new-rule.ts" ,
29
29
"docs:watch" : " vitepress dev docs" ,
30
30
"docs:build" : " vitepress build docs" ,
You can’t perform that action at this time.
0 commit comments