fixup! Add eslint-plugin-import
This commit is contained in:
parent
5f37d7bf08
commit
48b3529adb
19
.eslintrc.js
19
.eslintrc.js
|
@ -19,7 +19,7 @@ module.exports = {
|
|||
rules: {
|
||||
"prettier/prettier": "error",
|
||||
|
||||
"import/first": "warn",
|
||||
"import/first": "error",
|
||||
"import/order": [
|
||||
"error",
|
||||
{
|
||||
|
@ -28,11 +28,18 @@ module.exports = {
|
|||
"order": "asc",
|
||||
"caseInsensitive": true,
|
||||
},
|
||||
"pathGroups": {
|
||||
"pattern": "@/**",
|
||||
"group": "external",
|
||||
"position": "after",
|
||||
}
|
||||
"pathGroups": [
|
||||
{
|
||||
"pattern": "@/**",
|
||||
"group": "external",
|
||||
"position": "after",
|
||||
},
|
||||
{
|
||||
"pattern": "./*.css",
|
||||
"group": "index",
|
||||
"position": "after",
|
||||
}
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
|
|
Loading…
Reference in New Issue