Compare commits
1
Commits
d6fe94ff48
...
c46d4d367e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c46d4d367e |
+3
-1
@@ -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' } },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user