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
Copy file name to clipboardExpand all lines: docs/rules/prefer-named-replacement.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-named-replacement"
5
5
description: "enforce using named replacement"
6
+
since: "v1.4.0"
6
7
---
7
8
# regexp/prefer-named-replacement
8
9
9
10
> enforce using named replacement
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 @@ This rule reports and fixes `$n` parameter in replacement string that do not use
Copy file name to clipboardExpand all lines: docs/rules/prefer-result-array-groups.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-result-array-groups"
5
5
description: "enforce using result array `groups`"
6
+
since: "v1.4.0"
6
7
---
7
8
# regexp/prefer-result-array-groups
8
9
9
10
> enforce using result array `groups`
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
@@ -57,6 +57,10 @@ while (match = regex.exec(str)) {
Copy file name to clipboardExpand all lines: docs/rules/use-ignore-case.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/use-ignore-case"
5
5
description: "use the `i` flag if it simplifies the pattern"
6
+
since: "v1.4.0"
6
7
---
7
8
# regexp/use-ignore-case
8
9
9
10
> use the `i` flag if it simplifies the pattern
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
@@ -35,6 +35,10 @@ var foo = /\b0[xX][a-fA-F0-9]+\b/;
35
35
36
36
Nothing.
37
37
38
+
## :rocket: Version
39
+
40
+
This rule was introduced in eslint-plugin-regexp v1.4.0
0 commit comments