Skip to content

Commit 7ce8629

Browse files
committed
chore: Skip linting for generated code
1 parent 547f724 commit 7ce8629

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

eslint.config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,13 @@ const config: any[] = [
7171
},
7272
{
7373
// Test files - more lenient rules
74-
files: ["**/*.test.{ts,tsx}", "**/*.spec.{ts,tsx}", "**/tests/**/*.{ts,tsx}"],
74+
files: [
75+
"**/*.test.{ts,tsx}",
76+
"**/*.spec.{ts,tsx}",
77+
"**/tests/**/*.{ts,tsx}",
78+
// These are generated from shadcn, so we don't need to lint them
79+
"examples/shadcn/src/components/**/*.tsx",
80+
],
7581
rules: {
7682
"@typescript-eslint/no-explicit-any": "off",
7783
"@typescript-eslint/no-unused-vars": "off",

0 commit comments

Comments
 (0)