feat(eslint): Rule "sort-keys"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 15:06:46 +04:00
parent fe5de6953a
commit 0e39bae754
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 10 additions and 1 deletions

View File

@ -258,7 +258,7 @@
- [ ] "semi-spacing"
- [ ] "semi-style"
- [ ] "sort-imports"
- [ ] "sort-keys"
- [X] "sort-keys"
- [ ] "sort-vars"
- [ ] "space-before-blocks"
- [ ] "space-before-function-paren"

View File

@ -66,6 +66,15 @@
"require-jsdoc": [
"off"
],
"sort-keys": [
"warn",
"asc",
{
"caseSensitive": true,
"minKeys": 2,
"natural": true
}
],
"valid-jsdoc": [
"off"
]