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
If i want use eslint-plugin-react-hooks, is it necessary to use standardx? #1276
Comments
I think i find the reason. |
Hello Junting |
maybe, you need to see this issue at first. It seems like a bug of vscode-standardjs and It seems can't be solved quickly。 There is my final config。 I have to use both vscode-standardjs and eslint extension in vscode,It means the real tips about hooks come from eslint。I think my config is not good,but i don't have any other better solutions right now.
|
@Junting-Liu This will be fixed once we release a new version of |
what about for Webstorm, how do I configure standardjs to use currently I just added react-hooks to my standard config in package.json with nothing happening:
|
@orpheus, adding a plugin usually does not add the rules provided by that plugin to your list of rules that participate in linting. Currently, customizing or adding rules in Standard is not supported. Please see #1356 and my proposal #703. If these rules are important to you, you could quite easily replace But then you need to know a little bit about how to use ESLint and configure rules and plugins and use the command line and you'd use an ESLint extension for you editor instead of a Standard extension. ESLint's documentation is quite alright. Good luck. |
I want to config standard for eslint-plugin-react-hooks, but it doesn't work. So, i replace standard with standardx,like...
But, is it the only way?
And, vscode-standardjs can't give the warning about react hook, what should i do ?
The text was updated successfully, but these errors were encountered: