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 <[email protected]> * Update docs/src/rules/require-unicode-regexp.md Co-authored-by: Milos Djermanovic <[email protected]> * Update lib/rules/require-unicode-regexp.js Co-authored-by: Milos Djermanovic <[email protected]> * wip --------- Co-authored-by: Milos Djermanovic <[email protected]>
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

+1-1
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

+2-2
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)