darraghoriordan / eslint-plugin-nestjs-typed

Some eslint rules for working with NestJs projects
http://www.darraghoriordan.com
171 stars 34 forks source link

rules should be consistently named in plural or singular form #60

Closed spotlesscoder closed 1 year ago

spotlesscoder commented 1 year ago

Some rules from this plugin are named in singular:

while others are named in plural

this is a bit misleading when configuring the rule severity in the eslintrc I was trying "api-methods-should-specify-api-response" instead of the singular form

darraghoriordan commented 1 year ago

Hey, thanks for raising this. it's noted and i'll look out for this in PRs in the future.

Changing the rule names now will break people's existing configuration so I'm reluctant to change them.

Let me know if the documentation is wrong though. That is easy to fix.

spotlesscoder commented 1 year ago

yes, that would be a problem. Would it be possible to alias the rules somehow?