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-spacing"
|
||||||
- [ ] "semi-style"
|
- [ ] "semi-style"
|
||||||
- [ ] "sort-imports"
|
- [ ] "sort-imports"
|
||||||
- [ ] "sort-keys"
|
- [X] "sort-keys"
|
||||||
- [ ] "sort-vars"
|
- [ ] "sort-vars"
|
||||||
- [ ] "space-before-blocks"
|
- [ ] "space-before-blocks"
|
||||||
- [ ] "space-before-function-paren"
|
- [ ] "space-before-function-paren"
|
||||||
|
@ -66,6 +66,15 @@
|
|||||||
"require-jsdoc": [
|
"require-jsdoc": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"sort-keys": [
|
||||||
|
"warn",
|
||||||
|
"asc",
|
||||||
|
{
|
||||||
|
"caseSensitive": true,
|
||||||
|
"minKeys": 2,
|
||||||
|
"natural": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"valid-jsdoc": [
|
"valid-jsdoc": [
|
||||||
"off"
|
"off"
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user