-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
has prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-pluginrecommended-rulesDiscussion about recommended rule setsDiscussion about recommended rule sets
Description
Currently the @typescript-eslint/prefer-interface is part of the recommended rules as an error. I believe the reasons are dated and in most cases types are just as capable and more flexible. There are a few cases where interfaces are better but I would not recommend them as a default. Therefor I would recommend removing this rule as a recommendation and just allowing users to configure it if they really prefer to.
See also the discussion in issue #142 and point 19 in https://medium.com/@martin_hotell/10-typescript-pro-tips-patterns-with-or-without-react-5799488d6680
InvictusMB, omarryhan, leoyli, AntTargett, arx-8 and 13 moreleoyli, AntTargett, doasync, kblicharski, jhnns and 2 more
Metadata
Metadata
Assignees
Labels
has prthere is a PR raised to close thisthere is a PR raised to close thispackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-pluginrecommended-rulesDiscussion about recommended rule setsDiscussion about recommended rule sets