Skip to content

Commit

Permalink
7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jul 22, 2023
1 parent c7bc9f8 commit d7de90a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/rules/no-regexp-v-flag.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "es-x/no-regexp-v-flag"
description: "disallow RegExp `v` flag"
since: "v7.2.0"
---

# es-x/no-regexp-v-flag
> disallow RegExp `v` flag
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
- ✅ The following configurations enable this rule: `plugin:es-x/no-new-in-esnext`

This rule reports ES2024 [RegExp `v` flag](https://github.com/tc39/proposal-regexp-v-flag) as errors.
Expand All @@ -25,6 +25,10 @@ const r2 = /[\p{Decimal_Number}--[0-9]]/v

</eslint-playground>

## 🚀 Version

This rule was introduced in v7.2.0.

## 📚 References

- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-regexp-v-flag.js)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-es-x",
"version": "7.1.0",
"version": "7.2.0",
"description": "ESLint plugin about ECMAScript syntactic features.",
"engines": {
"node": "^14.18.0 || >=16.0.0"
Expand Down

0 comments on commit d7de90a

Please sign in to comment.