Skip to content

Commit

Permalink
Docs: update no-restricted-disable.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Oct 29, 2017
1 parent 7227a65 commit 9df52a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/rules/no-restricted-disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This rule warns `eslint-disable` directive-comments if the comment disable speci

## Rule Details

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

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

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

```json
```js
{
"no-restricted-disable": [
"error",
Expand All @@ -54,7 +54,7 @@ This rule takes a list of strings, where each string is a glob pattern. For exam
}
```

```json
```js
{
"no-restricted-disable": [
"error",
Expand Down

0 comments on commit 9df52a3

Please sign in to comment.