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
|[no-contradiction-with-assertion](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-contradiction-with-assertion.html)| disallow elements that contradict assertions |||| 💡 |
112
+
|[no-contradiction-with-assertion](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-contradiction-with-assertion.html)| disallow elements that contradict assertions |✅||| 💡 |
113
113
|[no-control-character](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-control-character.html)| disallow control characters |||| 💡 |
|[no-empty-alternative](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-alternative.html)| disallow alternatives without elements || ✅ |||
116
116
|[no-empty-capturing-group](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-capturing-group.html)| disallow capturing group that captures empty. | ✅ ||||
117
-
|[no-empty-character-class](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-character-class.html)| disallow character classes that match no characters |||||
117
+
|[no-empty-character-class](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-character-class.html)| disallow character classes that match no characters |✅||||
118
118
|[no-empty-group](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-group.html)| disallow empty group | ✅ ||||
|[no-lazy-ends](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-lazy-ends.html)| disallow lazy quantifiers at the end of an expression || ✅ |||
123
-
|[no-misleading-capturing-group](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-capturing-group.html)| disallow capturing groups that do not behave as one would expect |||| 💡 |
124
-
|[no-misleading-unicode-character](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-unicode-character.html)| disallow multi-code-point characters in character classes and quantifiers ||| 🔧 | 💡 |
125
-
|[no-missing-g-flag](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-missing-g-flag.html)| disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`||| 🔧 ||
123
+
|[no-misleading-capturing-group](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-capturing-group.html)| disallow capturing groups that do not behave as one would expect |✅||| 💡 |
124
+
|[no-misleading-unicode-character](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-unicode-character.html)| disallow multi-code-point characters in character classes and quantifiers |✅|| 🔧 | 💡 |
125
+
|[no-missing-g-flag](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-missing-g-flag.html)| disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`|✅|| 🔧 ||
|[no-potentially-useless-backreference](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-potentially-useless-backreference.html)| disallow backreferences that reference a group that might not be matched || ✅ |||
@@ -140,7 +140,7 @@ The `plugin:regexp/all` config enables all rules. It's meant for testing, not fo
140
140
|[control-character-escape](https://ota-meshi.github.io/eslint-plugin-regexp/rules/control-character-escape.html)| enforce consistent escaping of control characters | ✅ || 🔧 ||
141
141
|[negation](https://ota-meshi.github.io/eslint-plugin-regexp/rules/negation.html)| enforce use of escapes on negation | ✅ || 🔧 ||
142
142
|[no-dupe-characters-character-class](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-characters-character-class.html)| disallow duplicate characters in the RegExp character class | ✅ || 🔧 ||
|[no-invisible-character](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invisible-character.html)| disallow invisible raw character | ✅ || 🔧 ||
145
145
|[no-legacy-features](https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-legacy-features.html)| disallow legacy RegExp features | ✅ ||||
@@ -167,7 +167,7 @@ The `plugin:regexp/all` config enables all rules. It's meant for testing, not fo
167
167
|[prefer-regexp-test](https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-test.html)| enforce that `RegExp#test` is used instead of `String#match` and `RegExp#exec`||| 🔧 ||
168
168
|[require-unicode-regexp](https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-regexp.html)| enforce the use of the `u` flag ||| 🔧 ||
169
169
|[sort-alternatives](https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-alternatives.html)| sort alternatives if order doesn't matter ||| 🔧 ||
170
-
|[use-ignore-case](https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html)| use the `i` flag if it simplifies the pattern ||| 🔧 ||
170
+
|[use-ignore-case](https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html)| use the `i` flag if it simplifies the pattern |✅|| 🔧 ||
|[no-lazy-ends](no-lazy-ends.md)| disallow lazy quantifiers at the end of an expression || ✅ |||
30
-
|[no-misleading-capturing-group](no-misleading-capturing-group.md)| disallow capturing groups that do not behave as one would expect |||| 💡 |
31
-
|[no-misleading-unicode-character](no-misleading-unicode-character.md)| disallow multi-code-point characters in character classes and quantifiers ||| 🔧 | 💡 |
32
-
|[no-missing-g-flag](no-missing-g-flag.md)| disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`||| 🔧 ||
30
+
|[no-misleading-capturing-group](no-misleading-capturing-group.md)| disallow capturing groups that do not behave as one would expect |✅||| 💡 |
31
+
|[no-misleading-unicode-character](no-misleading-unicode-character.md)| disallow multi-code-point characters in character classes and quantifiers |✅|| 🔧 | 💡 |
32
+
|[no-missing-g-flag](no-missing-g-flag.md)| disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`|✅|| 🔧 ||
|[no-potentially-useless-backreference](no-potentially-useless-backreference.md)| disallow backreferences that reference a group that might not be matched || ✅ |||
Copy file name to clipboardExpand all lines: docs/rules/no-misleading-unicode-character.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ since: "v1.2.0"
7
7
---
8
8
# regexp/no-misleading-unicode-character
9
9
10
+
💼 This rule is enabled in the ✅ `plugin:regexp/recommended` config.
11
+
10
12
🔧💡 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix) and manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
0 commit comments