-
Notifications
You must be signed in to change notification settings - Fork 50.4k
Closed
Labels
Description
Since the latest plugin version (2.5.0) there should be a recommended config for eslint-plugin-react-hooks.
See: https://github.com/facebook/react/tree/master/packages/eslint-plugin-react-hooks
PR: #14762
Unfortunately this config did not work. I'am pretty sure the bundled index.js did not include the expected code.
eslint version: 6.8.0
eslint-plugin-react-hooks version: 2.5.0
Steps To Reproduce
Link to code example:
https://github.com/bobaaaaa/eslint-plugin-react-hooks-err
The current behavior
Oops! Something went wrong! :(
ESLint: 6.8.0.
ESLint couldn't find the config "plugin:react-hooks/recommended" to extend from. Please check that the name of the config is correct.
The config "plugin:react-hooks/recommended" was referenced from the config file in "${projectDir}/eslint-plugin-react-hooks-err/.eslintrc.json".
If you still have problems, please stop by https://gitter.im/eslint/eslint to chat with the team.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The expected behavior
yarn exit code 0
breadadams, stephenkoo, mkosir, kyr0 and LRNZ09