Turn off no-undef for the TS files too. [skip build]
Checks / checks (push) Successful in 2m11s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-01 05:48:37 +11:00
parent d6fe94ff48
commit c46d4d367e
+3 -1
View File
@@ -94,5 +94,7 @@ export default [
...(config.settings ? { settings: config.settings } : {}),
})),
),
{ files: ['*.ts'], rules: { 'no-undef': 'off' } },
// Type-only references (React.DragEvent, PermissionState) are not runtime globals, so no-undef
// has to be off for the TS files too, not just *.ts.
{ files: ['**/*.ts', '**/*.tsx'], rules: { 'no-undef': 'off' } },
];