-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use jsx-uses-inferno eslint rule #62
Comments
Hi @jstrangfeld can you send PR for this? |
I dug into this more and it looks like the rule I am requesting is not enabled by default. I will submit a pull request. |
Wait a minute, I might have misunderstood something here. This error is valid: |
Closed in #63 |
eslint-plugin-inferno
provides better eslint rules than the default configuration. In particular, eslint gives the following warning with every component:'Inferno' is defined but never used (no-unused-vars)
There are two solutions:
Use .eslintrc configuration from the project root, if present. Currently, custom .eslintrc files are ignored. Allow developers to customize eslint using their own configuration.
Add
eslint-plugin-inferno
as a project dependency and configure eslint to use it automatically. This would change the default rules for everyone without giving an option to modify them.The text was updated successfully, but these errors were encountered: