1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Forbid non tailwind classes in browser (#16902)

Enables the non tailwind eslint rule to ensure we don't accidentally add any bad classes to our browser extension.

- Notification bar uses a custom CSS file and is excluded.
- Removed unused `UserVerificationComponent`.
This commit is contained in:
Oscar Hinton
2025-10-21 02:32:55 +02:00
committed by GitHub
parent c0ddb34a48
commit aa12700ebc
6 changed files with 8 additions and 79 deletions

View File

@@ -322,7 +322,12 @@ export default tseslint.config(
},
// Tailwind migrated clients & libs
{
files: ["apps/web/**/*.html", "bitwarden_license/bit-web/**/*.html", "libs/**/*.html"],
files: [
"apps/web/**/*.html",
"apps/browser/**/*.html",
"bitwarden_license/bit-web/**/*.html",
"libs/**/*.html",
],
rules: {
"tailwindcss/no-custom-classname": [
"error",