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-unused-modules"
|
||||||
- [ ] "no-useless-path-segments"
|
- [ ] "no-useless-path-segments"
|
||||||
- [X] "no-webpack-loader-syntax"
|
- [X] "no-webpack-loader-syntax"
|
||||||
- [ ] "order"
|
- [X] "order"
|
||||||
- [ ] "prefer-default-export"
|
- [ ] "prefer-default-export"
|
||||||
- [ ] "unambiguous"
|
- [ ] "unambiguous"
|
||||||
|
|
||||||
|
@ -13,5 +13,30 @@
|
|||||||
],
|
],
|
||||||
"import/no-webpack-loader-syntax": [
|
"import/no-webpack-loader-syntax": [
|
||||||
"error"
|
"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