feat(import): order
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
46d05009cc
commit
4925f485ea
@ -331,7 +331,7 @@
|
||||
- [ ] "no-unused-modules"
|
||||
- [ ] "no-useless-path-segments"
|
||||
- [X] "no-webpack-loader-syntax"
|
||||
- [ ] "order"
|
||||
- [X] "order"
|
||||
- [ ] "prefer-default-export"
|
||||
- [ ] "unambiguous"
|
||||
|
||||
|
@ -13,5 +13,30 @@
|
||||
],
|
||||
"import/no-webpack-loader-syntax": [
|
||||
"error"
|
||||
],
|
||||
"import/order": [
|
||||
"error",
|
||||
{
|
||||
"alphabetize": {
|
||||
"caseInsensitive": false,
|
||||
"order": "asc"
|
||||
},
|
||||
"groups": [
|
||||
[
|
||||
"builtin",
|
||||
"external"
|
||||
],
|
||||
[
|
||||
"internal",
|
||||
"parent",
|
||||
"sibling"
|
||||
],
|
||||
[
|
||||
"index"
|
||||
],
|
||||
"unknown"
|
||||
],
|
||||
"newlines-between": "always"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user