mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
Fix linter for web
This commit is contained in:
parent
2ea7613854
commit
b04b8651e8
@ -13,3 +13,8 @@ apps/browser/src/scripts/duo.js
|
||||
|
||||
apps/desktop/desktop_native
|
||||
apps/desktop/src/scripts/duo.js
|
||||
|
||||
apps/web/config.js
|
||||
apps/web/scripts/*.js
|
||||
apps/web/src/theme.js
|
||||
apps/web/tailwind.config.js
|
||||
|
@ -19,5 +19,9 @@ apps/desktop/src/scripts/duo.js
|
||||
apps/cli/src/locales
|
||||
apps/cli/.github
|
||||
|
||||
apps/web/.github
|
||||
apps/web/src/404/bootstrap.min.css
|
||||
apps/web/src/locales
|
||||
|
||||
# Github Workflows
|
||||
.github/workflows
|
||||
|
@ -2,30 +2,5 @@
|
||||
"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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user