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

feat(jest): only apply rules in testing files #98

Closed MichaelDeBoey closed 3 years ago

MichaelDeBoey commented 3 years ago

I've kept env & plugins in the root to not have to duplicate them, but I can extract these into a variable and put them in both overrides if you want


Closes #107

MichaelDeBoey commented 3 years ago

We'll need to wait for https://github.com/sarbbottam/eslint-find-rules/issues/317 to be implemented before we can do this change

kentcdodds commented 3 years ago

Apologies for not iterating with you on this PR. I decided I only had time to "make it work" and move on. Hopefully you don't mind my workaround 😅