darraghoriordan / eslint-plugin-nestjs-typed

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

fix: ignore arrays of `unknown`, `any`, and `object` to fix #184 #193

Closed ChrisMBarr closed 5 months ago

ChrisMBarr commented 5 months ago

This should address #184

It simply adds unknown, any, and object to the list of "primitives" for this rule to ignore.

I also added tests to check for the unknown[] and Array<unknown> syntaxes since in my project these would fail in different ways as I was trying to figure this out.

darraghoriordan commented 5 months ago

:tada: This PR is included in version 5.0.14 :tada:

The release is available on:

Your semantic-release bot :package::rocket: