feat(eslint): Rule "id-length"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
2529229c18
commit
443af8609f
@ -47,7 +47,7 @@
|
|||||||
- [ ] "guard-for-in"
|
- [ ] "guard-for-in"
|
||||||
- [ ] "handle-callback-err"
|
- [ ] "handle-callback-err"
|
||||||
- [ ] "id-blacklist"
|
- [ ] "id-blacklist"
|
||||||
- [ ] "id-length"
|
- [X] "id-length"
|
||||||
- [ ] "id-match"
|
- [ ] "id-match"
|
||||||
- [ ] "implicit-arrow-linebreak"
|
- [ ] "implicit-arrow-linebreak"
|
||||||
- [X] "indent"
|
- [X] "indent"
|
||||||
|
@ -29,6 +29,14 @@
|
|||||||
"error",
|
"error",
|
||||||
"always"
|
"always"
|
||||||
],
|
],
|
||||||
|
"id-length": [
|
||||||
|
"warn",
|
||||||
|
{
|
||||||
|
"max": 32,
|
||||||
|
"min": 2,
|
||||||
|
"properties": "always"
|
||||||
|
}
|
||||||
|
],
|
||||||
"indent": [
|
"indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user