fixup! Add eslint-plugin-import

This commit is contained in:
Aditya Thakral 2021-08-09 03:47:42 -04:00
parent 5f37d7bf08
commit 48b3529adb
1 changed files with 13 additions and 6 deletions

View File

@ -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",
}
],
},
],