Skip to content

feat(config): add no-import-type-side-effects rule of @typescript-eslint #439

@shinGangan

Description

@shinGangan

Describe the feature

Currently, @typescript-eslint/consistent-type-imports is set as the typescript-eslint rule.

Since fixStyle is not specified, I think fixStyle: separate-type-imports will be applied.


I would like to suggest enabling @typescript-eslint/no-import-type-side-effects along with fixStyle: separate-type-imports being applied.
By adding this rule, it is possible to suppress variations in separate-type-imports and inline-type-imports on the user side.

However, I think whether to add a rule that disallows inline types to the official ESLint rules is an issue that requires discussion.

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions