Skip to content

Commit ff3714d

Browse files
committed
0.12.0
1 parent c3b1afa commit ff3714d

File tree

6 files changed

+22
-7
lines changed

6 files changed

+22
-7
lines changed

docs/rules/no-empty-capturing-group.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "regexp/no-empty-capturing-group"
55
description: "disallow capturing group that captures empty."
6+
since: "v0.12.0"
67
---
78
# regexp/no-empty-capturing-group
89

910
> disallow capturing group that captures empty.
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
12-
1312
## :book: Rule Details
1413

1514
This rule reports capturing group that captures assertions.
@@ -38,6 +37,10 @@ var foo = /(^)a/;
3837

3938
Nothing.
4039

40+
## :rocket: Version
41+
42+
This rule was introduced in eslint-plugin-regexp v0.12.0
43+
4144
## :mag: Implementation
4245

4346
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/no-empty-capturing-group.ts)

docs/rules/sort-alternatives.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/sort-alternatives"
55
description: "sort alternatives if order doesn't matter"
6+
since: "v0.12.0"
67
---
78
# regexp/sort-alternatives
89

910
> sort alternatives if order doesn't matter
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
@@ -40,6 +40,10 @@ var foo = /\((?:TM|R|C)\)/;
4040

4141
Nothing.
4242

43+
## :rocket: Version
44+
45+
This rule was introduced in eslint-plugin-regexp v0.12.0
46+
4347
## :mag: Implementation
4448

4549
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/sort-alternatives.ts)

docs/rules/sort-character-class-elements.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/sort-character-class-elements"
55
description: "enforces elements order in character class"
6+
since: "v0.12.0"
67
---
78
# regexp/sort-character-class-elements
89

910
> enforces elements order in character class
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
@@ -49,6 +49,10 @@ var foo = /[b-fa]/
4949

5050
- `"order"` ... An array of your preferred order. The default is `["\\s", "\\w", "\\d", "\\p", "*",]`.
5151

52+
## :rocket: Version
53+
54+
This rule was introduced in eslint-plugin-regexp v0.12.0
55+
5256
## :mag: Implementation
5357

5458
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/sort-character-class-elements.ts)

docs/rules/strict.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/strict"
55
description: "disallow not strictly valid regular expressions"
6+
since: "v0.12.0"
67
---
78
# regexp/strict
89

910
> disallow not strictly valid regular expressions
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
@@ -58,6 +58,10 @@ Nothing.
5858
[no-invalid-regexp]: https://eslint.org/docs/rules/no-invalid-regexp
5959
[regexp/no-standalone-backslash]: ./no-standalone-backslash.md
6060

61+
## :rocket: Version
62+
63+
This rule was introduced in eslint-plugin-regexp v0.12.0
64+
6165
## :mag: Implementation
6266

6367
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/strict.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": "0.11.0",
3+
"version": "0.12.0",
44
"description": "ESLint plugin for finding RegExp mistakes and RegExp style guide violations.",
55
"main": "dist/index.js",
66
"files": [

0 commit comments

Comments
 (0)