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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user