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/letter-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/letter-case"
5
5
description: "enforce into your favorite case"
6
+
since: "v0.3.0"
6
7
---
7
8
# regexp/letter-case
8
9
9
10
> enforce into your favorite case
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
@@ -50,6 +50,10 @@ var foo = /\u000A/
50
50
-`caseInsensitive` ... Specifies the letter case when the `i` flag is present.
51
51
-`unicodeEscape` ... Specifies the letter case when the unicode escapes.
52
52
53
+
## :rocket: Version
54
+
55
+
This rule was introduced in eslint-plugin-regexp v0.3.0
Copy file name to clipboardExpand all lines: docs/rules/no-useless-character-class.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-character-class"
5
5
description: "disallow character class with one character"
6
+
since: "v0.3.0"
6
7
---
7
8
# regexp/no-useless-character-class
8
9
9
10
> disallow character class with one character
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.
-: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
@@ -38,6 +38,10 @@ var foo = /a{2,2}?/;
38
38
39
39
Nothing.
40
40
41
+
## :rocket: Version
42
+
43
+
This rule was introduced in eslint-plugin-regexp v0.3.0
Copy file name to clipboardExpand all lines: docs/rules/no-useless-range.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-range"
5
5
description: "disallow unnecessary range of characters by using a hyphen"
6
+
since: "v0.3.0"
6
7
---
7
8
# regexp/no-useless-range
8
9
9
10
> disallow unnecessary range of characters by using a hyphen
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 = /[a-b]/
35
35
36
36
Nothing.
37
37
38
+
## :rocket: Version
39
+
40
+
This rule was introduced in eslint-plugin-regexp v0.3.0
Copy file name to clipboardExpand all lines: docs/rules/prefer-regexp-test.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-regexp-test"
5
5
description: "enforce that `RegExp#test` is used instead of `String#match` and `RegExp#exec`"
6
+
since: "v0.3.0"
6
7
---
7
8
# regexp/prefer-regexp-test
8
9
9
10
> enforce that `RegExp#test` is used instead of `String#match` and `RegExp#exec`
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.
Copy file name to clipboardExpand all lines: docs/rules/prefer-unicode-codepoint-escapes.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-unicode-codepoint-escapes"
5
5
description: "enforce use of unicode codepoint escapes"
6
+
since: "v0.3.0"
6
7
---
7
8
# regexp/prefer-unicode-codepoint-escapes
8
9
9
10
> enforce use of unicode codepoint escapes
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
@@ -34,6 +34,10 @@ var foo = /\ud83d\ude00/u
34
34
35
35
Nothing.
36
36
37
+
## :rocket: Version
38
+
39
+
This rule was introduced in eslint-plugin-regexp v0.3.0
0 commit comments