feat(import): Rule "newline-after-import"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
3f4d2c8b7d
commit
8ce6c52655
@ -293,7 +293,7 @@
|
|||||||
- [ ] "max-dependencies"
|
- [ ] "max-dependencies"
|
||||||
- [ ] "named"
|
- [ ] "named"
|
||||||
- [ ] "namespace"
|
- [ ] "namespace"
|
||||||
- [ ] "newline-after-import"
|
- [X] "newline-after-import"
|
||||||
- [ ] "no-absolute-path"
|
- [ ] "no-absolute-path"
|
||||||
- [ ] "no-amd"
|
- [ ] "no-amd"
|
||||||
- [ ] "no-anonymous-default-export"
|
- [ ] "no-anonymous-default-export"
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
"import/first": [
|
"import/first": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"import/newline-after-import": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"count": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
"import/no-webpack-loader-syntax": [
|
"import/no-webpack-loader-syntax": [
|
||||||
"error"
|
"error"
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user