feat(eslint): Rule "sort-keys"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
fe5de6953a
commit
0e39bae754
@ -258,7 +258,7 @@
|
||||
- [ ] "semi-spacing"
|
||||
- [ ] "semi-style"
|
||||
- [ ] "sort-imports"
|
||||
- [ ] "sort-keys"
|
||||
- [X] "sort-keys"
|
||||
- [ ] "sort-vars"
|
||||
- [ ] "space-before-blocks"
|
||||
- [ ] "space-before-function-paren"
|
||||
|
@ -66,6 +66,15 @@
|
||||
"require-jsdoc": [
|
||||
"off"
|
||||
],
|
||||
"sort-keys": [
|
||||
"warn",
|
||||
"asc",
|
||||
{
|
||||
"caseSensitive": true,
|
||||
"minKeys": 2,
|
||||
"natural": true
|
||||
}
|
||||
],
|
||||
"valid-jsdoc": [
|
||||
"off"
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user