1
0
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:
Addison Beck
2025-11-20 19:45:49 -05:00
committed by GitHub
parent 98401ccda1
commit ba93526965
5 changed files with 278 additions and 1 deletions

View File

@@ -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" }],