AlloyTeam / eslint-config-alloy

Progressive ESLint config for your React/Vue/TypeScript projects
https://alloyteam.github.io/eslint-config-alloy/
2.65k stars 317 forks source link

consistent type export/import #249

Closed alagunoff closed 1 year ago

alagunoff commented 1 year ago

Hi. Why do you have these rules off? image

meteorlxy commented 1 year ago

Hi, this repo is inactively maintained, so some new rules are turned off by default.

It does not mean that we don't recommend to use those new rules. For now you need to turn them on in your own project.


BTW, I personally love this rule so I turned it on in my personal eslint config.

I also suggest to turn on no-import-type-side-effects and import/consistent-type-specifier-style together

alagunoff commented 1 year ago

Oh, thanks for the reply. I also love import plugin and will check suggested rules. Why is this project inactively maintained? I just came across your config and liked it very much) Especially your way of keeping it up-to date but hearing these news is bad.

xcatliu commented 1 year ago

@alagunoff Thanks for the suggestion, this rule should be turned on.

This repo is under maintenance and new versions are released every month.

xcatliu commented 1 year ago

Published in 5.1.2

xcatliu commented 1 year ago

The reason this rule was not enabled before is that the rule was "typeinfo required" before. Now it is not "typeinfo requered", so it can be enabled now.

meteorlxy commented 1 year ago

This repo is under maintenance and new versions are released every month.

Happy to hear that 😁