Skip to content

Commit

Permalink
feat: Add react hooks plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 18, 2020
1 parent e4cd2ad commit 83155cc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = {
'plugin:@newrelic/eslint-plugin-newrelic/react',
'plugin:@newrelic/eslint-plugin-newrelic/prettier',
'plugin:jsx-a11y/recommended',
'plugin:react-hooks/recommended',
],
// https://github.com/yannickcr/eslint-plugin-react#configuration
plugins: ['react', 'jsx-a11y'],
Expand Down
11 changes: 8 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@mdx-js/react": "^1.6.4",
"classnames": "^2.2.6",
"date-fns": "^2.14.0",
"eslint-plugin-react-hooks": "^4.0.4",
"gatsby": "^2.20.25",
"gatsby-image": "^2.3.4",
"gatsby-plugin-google-tagmanager": "^2.3.3",
Expand Down

0 comments on commit 83155cc

Please sign in to comment.