Skip to content

Commit 389d3f1

Browse files
committed
Add ESLint config for TypeScript declaration files
1 parent fa40830 commit 389d3f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/configs/eslint/src/eslint.config.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ export const reduxESLintConfig: TSESLint.FlatConfig.Config[] = config(
138138
'@typescript-eslint/no-require-imports': [0],
139139
},
140140
},
141+
{
142+
name: 'typescript-declaration-files',
143+
files: ['**/*.d.?(c|m)ts'],
144+
rules: { '@typescript-eslint/no-empty-object-type': [0] },
145+
},
141146
)
142147

143148
/**

0 commit comments

Comments
 (0)