Skip to content

Commit

Permalink
feat: add exceptions for d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Oct 26, 2023
1 parent 55ba19b commit 4b52231
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions configurations/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ module.exports = {
'@typescript-eslint/explicit-member-accessibility': 2,
},
},
{
files: ['*.d.ts'],
rules: {
'@typescript-eslint/consistent-type-definitions': 0,
'@typescript-eslint/no-empty-interface': 0,
'@typescript-eslint/no-shadow': 0,
},
},
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'typescript-sort-keys'],
Expand Down

0 comments on commit 4b52231

Please sign in to comment.