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"
|
||||
- [ ] "handle-callback-err"
|
||||
- [ ] "id-blacklist"
|
||||
- [ ] "id-length"
|
||||
- [X] "id-length"
|
||||
- [ ] "id-match"
|
||||
- [ ] "implicit-arrow-linebreak"
|
||||
- [X] "indent"
|
||||
|
@ -29,6 +29,14 @@
|
||||
"error",
|
||||
"always"
|
||||
],
|
||||
"id-length": [
|
||||
"warn",
|
||||
{
|
||||
"max": 32,
|
||||
"min": 2,
|
||||
"properties": "always"
|
||||
}
|
||||
],
|
||||
"indent": [
|
||||
"error",
|
||||
"tab",
|
||||
|
Loading…
x
Reference in New Issue
Block a user