Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

Commit f1e9d3c

Browse files
committed
feat: add overrides for .tsx and .d.ts files
1 parent d591adf commit f1e9d3c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

index.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,21 @@ module.exports = {
6161
'object-shorthand': ['error'],
6262
'import/extensions': ['error', 'always', { ignorePackages: true }],
6363
},
64+
overrides: [
65+
{
66+
files: ['*.tsx'],
67+
rules: {
68+
'@typescript-eslint/explicit-module-boundary-types': 'off',
69+
},
70+
},
71+
{
72+
files: ['*.d.ts'],
73+
rules: {
74+
'@typescript-eslint/consistent-type-definitions': 'off',
75+
'@typescript-eslint/ban-types': 'off',
76+
},
77+
},
78+
],
6479
env: {
6580
browser: true,
6681
amd: true,

0 commit comments

Comments
 (0)