Skip to content

Commit

Permalink
feat: encourage type not interface (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc authored Apr 5, 2024
1 parent 753949f commit 42d8208
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = {
},
],
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/consistent-type-definitions': ['warn', 'type'],
'@typescript-eslint/explicit-function-return-type': 'error',
'@typescript-eslint/explicit-member-accessibility': [
'error',
Expand Down

0 comments on commit 42d8208

Please sign in to comment.