Skip to content

Commit 1114f9a

Browse files
committed
Add Class-suffix pattern to ESLint ignoreNames for CSS class variables
Fixes CI lint failure where `inputClass` (a Tailwind class string variable) was flagged as an unlocalized string.
1 parent 9125f53 commit 1114f9a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apps/studio/eslint-suppressions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"src/components/pipeline/stage-config.ts": {
3838
"lingui/no-unlocalized-strings": {
39-
"count": 32
39+
"count": 25
4040
}
4141
},
4242
"src/components/pipeline/stages/PreviewValidationCard.tsx": {
@@ -86,7 +86,7 @@
8686
},
8787
"src/routes/books.new.tsx": {
8888
"lingui/no-unlocalized-strings": {
89-
"count": 54
89+
"count": 49
9090
}
9191
},
9292
"src/vite-env.d.ts": {

apps/studio/eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export default [
8080
"borderDark",
8181
"iconColor",
8282
"colorClass",
83+
{ regex: { pattern: "Class$" } },
8384

8485
// --- Data labels (technical CSS descriptions, pipeline labels — not user-facing prose) ---
8586
"label",

0 commit comments

Comments
 (0)