Skip to content

Commit 9df52a3

Browse files
committed
Docs: update no-restricted-disable.md
1 parent 7227a65 commit 9df52a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/rules/no-restricted-disable.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This rule warns `eslint-disable` directive-comments if the comment disable speci
44

55
## Rule Details
66

7-
:-1: Examples of **incorrect** code for `["no-undef", "no-unused-vars"]`:
7+
:-1: Examples of **incorrect** code for this rule:
88

99
```js
1010
/*eslint no-restricted-disable: ["error", "no-undef", "no-unused-vars"]*/
@@ -43,7 +43,7 @@ f() //eslint-disable-line another-rule
4343

4444
This rule takes a list of strings, where each string is a glob pattern. For example:
4545

46-
```json
46+
```js
4747
{
4848
"no-restricted-disable": [
4949
"error",
@@ -54,7 +54,7 @@ This rule takes a list of strings, where each string is a glob pattern. For exam
5454
}
5555
```
5656

57-
```json
57+
```js
5858
{
5959
"no-restricted-disable": [
6060
"error",

0 commit comments

Comments
 (0)