Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork4.8k
Commitb6ab8b2
feat:
* feat: `require-unicode-regexp` add suggestions* Review fixups: invalid patterns; sequence expressions* I promise I know how CJS modules work* Handled non-string literals* Update lib/rules/require-unicode-regexp.jsCo-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>* Don't concatenate + 'u'* Test the new cases* Touch up regular-expressions.js templating* Add myself as author to regular-expressions.js---------Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>require-unicode-regexp
add suggestions (#17007)1 parent4dd8d52 commitb6ab8b2
File tree
5 files changed
+297
-51
lines changed- lib/rules
- utils
- tests/lib/rules
5 files changed
+297
-51
lines changedLines changed: 4 additions & 33 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
15 |
| - | |
16 |
| - | |
17 | 16 |
| |
18 | 17 |
| |
19 | 18 |
| |
| |||
185 | 184 |
| |
186 | 185 |
| |
187 | 186 |
| |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 |
| - | |
203 |
| - | |
204 |
| - | |
205 |
| - | |
206 |
| - | |
207 |
| - | |
208 |
| - | |
209 |
| - | |
210 |
| - | |
211 |
| - | |
212 |
| - | |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 | 187 |
| |
217 | 188 |
| |
218 | 189 |
| |
219 |
| - | |
| 190 | + | |
220 | 191 |
| |
221 | 192 |
| |
222 | 193 |
| |
| |||
242 | 213 |
| |
243 | 214 |
| |
244 | 215 |
| |
245 |
| - | |
| 216 | + | |
246 | 217 |
| |
247 | 218 |
| |
248 | 219 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
21 |
| - | |
22 |
| - | |
23 | 22 |
| |
24 | 23 |
| |
25 | 24 |
| |
|
Lines changed: 56 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
| 19 | + | |
18 | 20 |
| |
19 | 21 |
| |
20 | 22 |
| |
| |||
31 | 33 |
| |
32 | 34 |
| |
33 | 35 |
| |
| 36 | + | |
| 37 | + | |
34 | 38 |
| |
| 39 | + | |
35 | 40 |
| |
36 | 41 |
| |
37 | 42 |
| |
| |||
47 | 52 |
| |
48 | 53 |
| |
49 | 54 |
| |
50 |
| - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
51 | 69 |
| |
52 | 70 |
| |
53 | 71 |
| |
| |||
59 | 77 |
| |
60 | 78 |
| |
61 | 79 |
| |
62 |
| - | |
| 80 | + | |
| 81 | + | |
63 | 82 |
| |
64 | 83 |
| |
65 | 84 |
| |
66 |
| - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
67 | 120 |
| |
68 | 121 |
| |
69 | 122 |
| |
|
Lines changed: 42 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + |
0 commit comments
Comments
(0)