diff --git a/README.md b/README.md index 41a8603..591d1f7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![npm version](https://badge.fury.io/js/eslint-config-plural.svg)](https://badge.fury.io/js/eslint-config-plural) ## Getting Started -Our default export contains all of our ESLint rules, including ECMAScript 6+ and React. It requires `eslint`, `eslint-plugin-import`, `eslint-plugin-react`, `eslint-plugin-jsx-a11y` and `eslint-plugin-react-perf`. If you don't need React, see [base entry point](#base-entry-point). +Our default export contains all of our ESLint rules, including ECMAScript 6+ and React. It requires `eslint`, `eslint-plugin-import`, `eslint-plugin-react`, `eslint-plugin-react-hooks`, `eslint-plugin-react-hooks-docs`, `eslint-plugin-jsx-a11y` and `eslint-plugin-react-perf`. If you don't need React, see [base entry point](#base-entry-point). If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly. Otherwise, run npm info "eslint-config-plural@latest" peerDependencies to list the peer dependencies and versions, then run yarn add --dev @ for each listed peer dependency. diff --git a/test/test-react-order.js b/test/test-react-order.js index 0b2b4c6..33a6381 100644 --- a/test/test-react-order.js +++ b/test/test-react-order.js @@ -38,7 +38,7 @@ ${body}} test('validate react methods order', (t) => { t.test('make sure our eslintrc has React and JSX linting dependencies', (t) => { t.plan(2); - t.deepEqual(reactRules.plugins, ['react', 'eslint-plugin-react-perf']); + t.deepEqual(reactRules.plugins, ['react', 'eslint-plugin-react-perf', 'eslint-plugin-react-hooks-docs']); t.deepEqual(reactA11yRules.plugins, ['jsx-a11y', 'react']); });