33 lines
643 B
JSON
33 lines
643 B
JSON
|
{
|
||
|
"root": true,
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"webextensions": true
|
||
|
},
|
||
|
"extends": ["./jslib/shared/eslintrc.json"],
|
||
|
"rules": {
|
||
|
"import/order": [
|
||
|
"error",
|
||
|
{
|
||
|
"alphabetize": {
|
||
|
"order": "asc"
|
||
|
},
|
||
|
"newlines-between": "always",
|
||
|
"pathGroups": [
|
||
|
{
|
||
|
"pattern": "jslib-*/**",
|
||
|
"group": "external",
|
||
|
"position": "after"
|
||
|
},
|
||
|
{
|
||
|
"pattern": "src/**/*",
|
||
|
"group": "parent",
|
||
|
"position": "before"
|
||
|
}
|
||
|
],
|
||
|
"pathGroupsExcludedImportTypes": ["builtin"]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|