mirror of
https://github.com/bitwarden/browser
synced 2024-12-11 16:55:56 +01:00
32 lines
616 B
JSON
32 lines
616 B
JSON
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": 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"]
|
|
}
|
|
]
|
|
}
|
|
}
|