Skip to content

Commit 8a941cb

Browse files
docs: update docs and description of require-unicode-regexp (#19205)
* docs: update docs and `description` of `require-unicode-regexp` * Update docs/src/rules/require-unicode-regexp.md Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Update docs/src/rules/require-unicode-regexp.md Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Update lib/rules/require-unicode-regexp.js Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * wip --------- Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
1 parent cbab228 commit 8a941cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/_data/rules_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2770,7 +2770,7 @@
27702770
"require-unicode-regexp": {
27712771
"type": "suggestion",
27722772
"docs": {
2773-
"description": "Enforce the use of `u` or `v` flag on RegExp",
2773+
"description": "Enforce the use of `u` or `v` flag on regular expressions",
27742774
"recommended": false,
27752775
"url": "https://eslint.org/docs/latest/rules/require-unicode-regexp"
27762776
},

lib/rules/require-unicode-regexp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @fileoverview Rule to enforce the use of `u` flag on RegExp.
2+
* @fileoverview Rule to enforce the use of `u` or `v` flag on regular expressions.
33
* @author Toru Nagashima
44
*/
55

@@ -48,7 +48,7 @@ module.exports = {
4848
type: "suggestion",
4949

5050
docs: {
51-
description: "Enforce the use of `u` or `v` flag on RegExp",
51+
description: "Enforce the use of `u` or `v` flag on regular expressions",
5252
recommended: false,
5353
url: "https://eslint.org/docs/latest/rules/require-unicode-regexp"
5454
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy