Skip to content

Commit

Permalink
Add comment types vs interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
0x80 committed Jan 19, 2025
1 parent 1f64a28 commit e4373f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config/src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ export default tseslint.config(
"warn",
{ argsIgnorePattern: "^_" },
],
/**
* See
* https://www.totaltypescript.com/type-vs-interface-which-should-you-use
*/
"@typescript-eslint/consistent-type-definitions": ["warn", "type"],
},
}
Expand Down

0 comments on commit e4373f2

Please sign in to comment.