Skip to content

Commit e4373f2

Browse files
committed
Add comment types vs interfaces
1 parent 1f64a28 commit e4373f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/eslint-config/src/base.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ export default tseslint.config(
1919
"warn",
2020
{ argsIgnorePattern: "^_" },
2121
],
22+
/**
23+
* See
24+
* https://www.totaltypescript.com/type-vs-interface-which-should-you-use
25+
*/
2226
"@typescript-eslint/consistent-type-definitions": ["warn", "type"],
2327
},
2428
}

0 commit comments

Comments
 (0)