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"
|
||||||
- [ ] "semi-spacing"
|
- [ ] "semi-spacing"
|
||||||
- [ ] "semi-style"
|
- [ ] "semi-style"
|
||||||
- [ ] "sort-imports"
|
- [X] "sort-imports"
|
||||||
- [X] "sort-keys"
|
- [X] "sort-keys"
|
||||||
- [ ] "sort-vars"
|
- [ ] "sort-vars"
|
||||||
- [ ] "space-before-blocks"
|
- [ ] "space-before-blocks"
|
||||||
|
@ -91,6 +91,20 @@
|
|||||||
"require-jsdoc": [
|
"require-jsdoc": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"sort-imports": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"ignoreCase": false,
|
||||||
|
"ignoreDeclarationSort": false,
|
||||||
|
"ignoreMemberSort": false,
|
||||||
|
"memberSyntaxSortOrder": [
|
||||||
|
"all",
|
||||||
|
"multiple",
|
||||||
|
"single",
|
||||||
|
"none"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"sort-keys": [
|
"sort-keys": [
|
||||||
"warn",
|
"warn",
|
||||||
"asc",
|
"asc",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user