kentcdodds / eslint-config-kentcdodds

ESLint configuration for projects that I do... Feel free to use this!
http://eslint.org/docs/user-guide/configuring#extending-configuration-files
MIT License
340 stars 65 forks source link

jest/testing rules are executed in tsx files #107

Closed crisfcodes closed 3 years ago

crisfcodes commented 3 years ago

It's normal or intentional to run jest and testing-library rules in tsx component files?

config-error

kentcdodds commented 3 years ago

We're working on this kinda: https://github.com/kentcdodds/eslint-config-kentcdodds/pull/98

crisfcodes commented 3 years ago

@kentcdodds other thing is, every first import thrown:

this happend in all files

kentcdodds commented 3 years ago

Is that happening in your editor? It's possible you need to restart your editor. Those rules are definitely available if everything's installed correctly. It's just that sometimes the eslint plugins don't pick up when you reinstall dependencies.

kentcdodds commented 3 years ago

The original issue should be fixed now.