1 Commits
Author SHA1 Message Date
litruv c46d4d367e 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
2026-11-01 05:48:37 +11:00
+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' } },
];