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.
This commit is contained in:
parent
2d5be7b730
commit
2e057065b7
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ Here's an example of an `.eslintrc` file:
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-console": 0,
|
"no-console": 0,
|
||||||
"indent": ["warning", 2]
|
"indent": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue