darraghoriordan / eslint-plugin-nestjs-typed

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

feat(validated-non-primitive-property-needs-type-decorator): allow additional options for custom validator decorators to detect #43

Closed austinwoon closed 1 year ago

austinwoon commented 1 year ago

Context

I have some custom class-validator decorators that I would like to enforce this rule on. Currently, we detect if an import is a class-validator import by detecting if the import is from class-validator. This prevents the rule from being enforced when custom validators are applied.

Proposed solutions

darraghoriordan commented 1 year ago

:tada: This issue has been resolved in version 3.18.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: