atmina / linting

A collection of opinionated in-house linting rules.
MIT License
3 stars 2 forks source link

fix(react): configure react for ts,tsx,js,jsx #202

Closed JoschuaSchneider closed 6 months ago

JoschuaSchneider commented 6 months ago

React rules should also be enforced in ts and js Files. Some rules only apply to Hooks and therefore do not depend on JSX. These hooks should still be checked :)

As pointed out by @mvarendorff this needs either a rollback of the typescript-eslint upgrade or needs to wait until the next.js plugin releases their upgrade to v7.

mvarendorff2 commented 6 months ago

Released in 2.2.0