Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: updated ImportDeclaration in docs-rules-indent #11679

Merged
merged 2 commits into from May 10, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

updated ImportDeclaration in eslint-indent in docs-rules-indent

  • Loading branch information...
AlokTakshak committed May 6, 2019
commit 2ecf7b0032e6843297b834ffea599a1f4ca898f6
@@ -561,7 +561,7 @@ var foo = { bar: 1,
Examples of **correct** code for this rule with the `4, { "ImportDeclaration": 1 }` option (the default):

```js
/*eslint indent: ["error", 4, { ImportDeclaration: 1 }]*/
/*eslint indent: ["error", 4, { "ImportDeclaration": 1 }]*/
import { foo,
bar,
@@ -578,7 +578,7 @@ import {
Examples of **incorrect** code for this rule with the `4, { "ImportDeclaration": "first" }` option:

```js
/*eslint indent: ["error", 4, { ImportDeclaration: "first" }]*/
/*eslint indent: ["error", 4, { "ImportDeclaration": "first" }]*/
import { foo,
bar,
@@ -589,7 +589,7 @@ import { foo,
Examples of **correct** code for this rule with the `4, { "ImportDeclaration": "first" }` option:

```js
/*eslint indent: ["error", 4, { ImportDeclaration: "first" }]*/
/*eslint indent: ["error", 4, { "ImportDeclaration": "first" }]*/
import { foo,
bar,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.