You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> ***This rule has not been released yet.*** </badge>
12
12
-:wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
13
13
14
14
## :book: Rule Details
@@ -52,6 +52,10 @@ var foo = /ab+?c/;
52
52
53
53
Nothing.
54
54
55
+
## :rocket: Version
56
+
57
+
This rule was introduced in eslint-plugin-regexp v0.10.0
Copy file name to clipboardExpand all lines: docs/rules/no-useless-quantifier.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ pageClass: "rule-details"
3
3
sidebarDepth: 0
4
4
title: "regexp/no-useless-quantifier"
5
5
description: "disallow quantifiers that can be removed"
6
+
since: "v0.10.0"
6
7
---
7
8
# regexp/no-useless-quantifier
8
9
9
10
> disallow quantifiers that can be removed
10
11
11
-
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> ***This rule has not been released yet.*** </badge>
12
12
-:wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
13
13
14
14
## :book: Rule Details
@@ -53,6 +53,10 @@ var foo = /(?:a+b*|c*)?/;
53
53
54
54
Nothing.
55
55
56
+
## :rocket: Version
57
+
58
+
This rule was introduced in eslint-plugin-regexp v0.10.0
Copy file name to clipboardExpand all lines: docs/rules/prefer-predefined-assertion.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ pageClass: "rule-details"
3
3
sidebarDepth: 0
4
4
title: "regexp/prefer-predefined-assertion"
5
5
description: "prefer predefined assertion over equivalent lookarounds"
6
+
since: "v0.10.0"
6
7
---
7
8
# regexp/prefer-predefined-assertion
8
9
9
10
> prefer predefined assertion over equivalent lookarounds
10
11
11
-
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> ***This rule has not been released yet.*** </badge>
12
12
-:wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
13
13
14
14
## :book: Rule Details
@@ -37,6 +37,10 @@ var foo = /a+(?!\w)(?:\s|bc+)+/;
37
37
38
38
Nothing.
39
39
40
+
## :rocket: Version
41
+
42
+
This rule was introduced in eslint-plugin-regexp v0.10.0
0 commit comments