File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
title : " es-x/no-regexp-v-flag"
3
3
description : " disallow RegExp `v` flag"
4
+ since : " v7.2.0"
4
5
---
5
6
6
7
# es-x/no-regexp-v-flag
7
8
> disallow RegExp ` v ` flag
8
9
9
- - ❗ <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
10
10
- ✅ The following configurations enable this rule: ` plugin:es-x/no-new-in-esnext `
11
11
12
12
This rule reports ES2024 [ RegExp ` v ` flag] ( https://github.com/tc39/proposal-regexp-v-flag ) as errors.
@@ -25,6 +25,10 @@ const r2 = /[\p{Decimal_Number}--[0-9]]/v
25
25
26
26
</eslint-playground >
27
27
28
+ ## 🚀 Version
29
+
30
+ This rule was introduced in v7.2.0.
31
+
28
32
## 📚 References
29
33
30
34
- [ Rule source] ( https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-regexp-v-flag.js )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-es-x" ,
3
- "version" : " 7.1 .0" ,
3
+ "version" : " 7.2 .0" ,
4
4
"description" : " ESLint plugin about ECMAScript syntactic features." ,
5
5
"engines" : {
6
6
"node" : " ^14.18.0 || >=16.0.0"
You can’t perform that action at this time.
0 commit comments