mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-09 09:51:02 +01:00
33 lines
634 B
JSON
33 lines
634 B
JSON
|
{
|
||
|
"root": true,
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"node": 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"]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|