Skip to content

Commit 8bd4f86

Browse files
committed
1.4.0
1 parent 155f1f4 commit 8bd4f86

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

docs/rules/prefer-named-replacement.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "regexp/prefer-named-replacement"
55
description: "enforce using named replacement"
6+
since: "v1.4.0"
67
---
78
# regexp/prefer-named-replacement
89

910
> enforce using named replacement
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1212
- :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.
1313

1414
## :book: Rule Details
@@ -53,6 +53,10 @@ This rule reports and fixes `$n` parameter in replacement string that do not use
5353
[regexp/prefer-named-capture-group]: ./prefer-named-capture-group.md
5454
[regexp/prefer-result-array-groups]: ./prefer-result-array-groups.md
5555

56+
## :rocket: Version
57+
58+
This rule was introduced in eslint-plugin-regexp v1.4.0
59+
5660
## :mag: Implementation
5761

5862
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/prefer-named-replacement.ts)

docs/rules/prefer-result-array-groups.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "regexp/prefer-result-array-groups"
55
description: "enforce using result array `groups`"
6+
since: "v1.4.0"
67
---
78
# regexp/prefer-result-array-groups
89

910
> enforce using result array `groups`
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1212
- :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.
1313

1414
## :book: Rule Details
@@ -57,6 +57,10 @@ while (match = regex.exec(str)) {
5757
[regexp/prefer-named-capture-group]: ./prefer-named-capture-group.md
5858
[regexp/prefer-named-replacement]: ./prefer-named-replacement.md
5959

60+
## :rocket: Version
61+
62+
This rule was introduced in eslint-plugin-regexp v1.4.0
63+
6064
## :mag: Implementation
6165

6266
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/prefer-result-array-groups.ts)

docs/rules/use-ignore-case.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "regexp/use-ignore-case"
55
description: "use the `i` flag if it simplifies the pattern"
6+
since: "v1.4.0"
67
---
78
# regexp/use-ignore-case
89

910
> use the `i` flag if it simplifies the pattern
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1212
- :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.
1313

1414
## :book: Rule Details
@@ -35,6 +35,10 @@ var foo = /\b0[xX][a-fA-F0-9]+\b/;
3535

3636
Nothing.
3737

38+
## :rocket: Version
39+
40+
This rule was introduced in eslint-plugin-regexp v1.4.0
41+
3842
## :mag: Implementation
3943

4044
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/use-ignore-case.ts)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-regexp",
3-
"version": "1.3.1",
3+
"version": "1.4.0",
44
"description": "ESLint plugin for finding RegExp mistakes and RegExp style guide violations.",
55
"engines": {
66
"node": "^12 || >=14"

0 commit comments

Comments
 (0)