feat(eslint): Rule "sort-imports"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
28a0661434
commit
2ffee5d7a3
@ -257,7 +257,7 @@
|
||||
- [ ] "semi"
|
||||
- [ ] "semi-spacing"
|
||||
- [ ] "semi-style"
|
||||
- [ ] "sort-imports"
|
||||
- [X] "sort-imports"
|
||||
- [X] "sort-keys"
|
||||
- [ ] "sort-vars"
|
||||
- [ ] "space-before-blocks"
|
||||
|
@ -91,6 +91,20 @@
|
||||
"require-jsdoc": [
|
||||
"off"
|
||||
],
|
||||
"sort-imports": [
|
||||
"error",
|
||||
{
|
||||
"ignoreCase": false,
|
||||
"ignoreDeclarationSort": false,
|
||||
"ignoreMemberSort": false,
|
||||
"memberSyntaxSortOrder": [
|
||||
"all",
|
||||
"multiple",
|
||||
"single",
|
||||
"none"
|
||||
]
|
||||
}
|
||||
],
|
||||
"sort-keys": [
|
||||
"warn",
|
||||
"asc",
|
||||
|
Loading…
x
Reference in New Issue
Block a user