Skip to content
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

refactor: use plugin:react-hooks/recommended #254

Open
reminjp opened this issue Mar 3, 2021 · 1 comment
Open

refactor: use plugin:react-hooks/recommended #254

reminjp opened this issue Mar 3, 2021 · 1 comment

Comments

@reminjp
Copy link
Member

reminjp commented Mar 3, 2021

eslint-plugin-react-hooksにいつの間にかrecommendedが生えていて、これの中身は現在指定している

      'react-hooks/rules-of-hooks': 'error',
      'react-hooks/exhaustive-deps': 'warn',

と同じなので、設定ファイルを短くできます。

@exKAZUu
Copy link
Member

exKAZUu commented Mar 3, 2021

PR welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants