Skip to content

Commit b8180ee

Browse files
committed
0.10.0
1 parent 1ae6e2b commit b8180ee

File tree

7 files changed

+27
-9
lines changed

7 files changed

+27
-9
lines changed

docs/rules/no-standalone-backslash.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-standalone-backslash"
55
description: "disallow standalone backslashes (`\\`)"
6+
since: "v0.10.0"
67
---
78
# regexp/no-standalone-backslash
89

910
> disallow standalone backslashes (`\`)
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 disallows backslash (`\`) without escape.
@@ -50,6 +49,10 @@ Nothing.
5049

5150
- [ECMAScript® 2022 Language Specification > Annex B > B.1.4 Regular Expressions Patterns](https://tc39.es/ecma262/#sec-regular-expressions-patterns)
5251

52+
## :rocket: Version
53+
54+
This rule was introduced in eslint-plugin-regexp v0.10.0
55+
5356
## :mag: Implementation
5457

5558
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/no-standalone-backslash.ts)

docs/rules/no-useless-lazy.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/no-useless-lazy"
55
description: "disallow unnecessarily non-greedy quantifiers"
6+
since: "v0.10.0"
67
---
78
# regexp/no-useless-lazy
89

910
> disallow unnecessarily non-greedy quantifiers
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
@@ -52,6 +52,10 @@ var foo = /ab+?c/;
5252

5353
Nothing.
5454

55+
## :rocket: Version
56+
57+
This rule was introduced in eslint-plugin-regexp v0.10.0
58+
5559
## :mag: Implementation
5660

5761
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/no-useless-lazy.ts)

docs/rules/no-useless-quantifier.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/no-useless-quantifier"
55
description: "disallow quantifiers that can be removed"
6+
since: "v0.10.0"
67
---
78
# regexp/no-useless-quantifier
89

910
> disallow quantifiers that can be removed
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 @@ var foo = /(?:a+b*|c*)?/;
5353

5454
Nothing.
5555

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

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

docs/rules/no-zero-quantifier.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-zero-quantifier"
55
description: "disallow quantifiers with a maximum of zero"
6+
since: "v0.10.0"
67
---
78
# regexp/no-zero-quantifier
89

910
> disallow quantifiers with a maximum of zero
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 quantifiers with a maximum of zero. These quantifiers trivially do not affect the pattern is any way and can be removed.
@@ -36,6 +35,10 @@ var foo = /(a){0}/;
3635

3736
Nothing.
3837

38+
## :rocket: Version
39+
40+
This rule was introduced in eslint-plugin-regexp v0.10.0
41+
3942
## :mag: Implementation
4043

4144
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/no-zero-quantifier.ts)

docs/rules/prefer-predefined-assertion.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-predefined-assertion"
55
description: "prefer predefined assertion over equivalent lookarounds"
6+
since: "v0.10.0"
67
---
78
# regexp/prefer-predefined-assertion
89

910
> prefer predefined assertion over equivalent lookarounds
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
@@ -37,6 +37,10 @@ var foo = /a+(?!\w)(?:\s|bc+)+/;
3737

3838
Nothing.
3939

40+
## :rocket: Version
41+
42+
This rule was introduced in eslint-plugin-regexp v0.10.0
43+
4044
## :mag: Implementation
4145

4246
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/prefer-predefined-assertion.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.9.0",
3+
"version": "0.10.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)