mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
chore: create eslint rule to catch insecure page script injection (#17437)
* chore: create eslint rule to catch insecure page script injection * chore: ignore existing lints * review: tighten rule scope * review: add tests
This commit is contained in:
@@ -80,6 +80,7 @@ export default tseslint.config(
|
||||
|
||||
"@bitwarden/platform/required-using": "error",
|
||||
"@bitwarden/platform/no-enums": "error",
|
||||
"@bitwarden/platform/no-page-script-url-leakage": "error",
|
||||
"@bitwarden/components/require-theme-colors-in-svg": "error",
|
||||
|
||||
"@typescript-eslint/explicit-member-accessibility": ["error", { accessibility: "no-public" }],
|
||||
|
||||
Reference in New Issue
Block a user