From fc44da960844657131be6fbe7e888aedee0d90f9 Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Thu, 4 Jan 2018 22:57:21 +0100 Subject: [PATCH] Docs: fix sort-imports rule block language (#9805) one of the blocks in rule `sort-imports` was missing language highlighting so added that as in two previous blocks. --- docs/rules/sort-imports.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/rules/sort-imports.md b/docs/rules/sort-imports.md index 6c25922a642..d375279384e 100644 --- a/docs/rules/sort-imports.md +++ b/docs/rules/sort-imports.md @@ -186,13 +186,12 @@ import * as b from 'bar.js'; Examples of **correct** code for this rule with the `{ "memberSyntaxSortOrder": ['all', 'single', 'multiple', 'none'] }` option: -``` +```js /*eslint sort-imports: ["error", { "memberSyntaxSortOrder": ['all', 'single', 'multiple', 'none'] }]*/ import * as foo from 'foo.js'; import z from 'zoo.js'; import {a, b} from 'foo.js'; - ``` Default is `["none", "all", "multiple", "single"]`.