Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2e05706

Browse files
Replace rules.indent array with number
ESLint 7.12.0 indent rule configuration now only accepts a number value. The array provided returns a runtime error.
1 parent 2d5be7b commit 2e05706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎1-js/03-code-quality/02-coding-style/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Here's an example of an `.eslintrc` file:
328328
},
329329
"rules": {
330330
"no-console": 0,
331-
"indent": ["warning", 2]
331+
"indent": 2
332332
}
333333
}
334334
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /