Skip to content

Commit

Permalink
fix: requiring consistency of typescript record types (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored Feb 4, 2022
1 parent b80a7e9 commit 75f08be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
'import/resolver': 'typescript',
},
rules: {
'@typescript-eslint/consistent-indexed-object-style': 'error',
'@typescript-eslint/consistent-type-imports': 'error',

// Disable requiring return types because it's too easy to broaden them by accident.
Expand Down

0 comments on commit 75f08be

Please sign in to comment.