From 9df52a36d2364300f787f260ac681ccc12eced7e Mon Sep 17 00:00:00 2001 From: Toru Nagashima Date: Mon, 30 Oct 2017 04:28:14 +0900 Subject: [PATCH] Docs: update no-restricted-disable.md --- docs/rules/no-restricted-disable.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/rules/no-restricted-disable.md b/docs/rules/no-restricted-disable.md index 4a973a1..5f14a6c 100644 --- a/docs/rules/no-restricted-disable.md +++ b/docs/rules/no-restricted-disable.md @@ -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"]*/ @@ -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", @@ -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",