Skip to content

Commit

Permalink
Require ESLint 6
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 6, 2019
1 parent 51a4b93 commit 7ee855e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ module.exports = {
],

'react-hooks/rules-of-hooks': 'error',

// TODO: Make this an `error`.
// The rule needs to be more stable first, see:
// https://github.com/facebook/react/issues/14920
'react-hooks/exhaustive-deps': 'warn'
}
};
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,17 @@
"simple"
],
"devDependencies": {
"ava": "^1.2.1",
"eslint": "^5.15.0",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.4.0",
"is-plain-obj": "^1.0.0",
"temp-write": "^3.1.0"
"ava": "^2.1.0",
"eslint": "^6.0.1",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-react-hooks": "^1.6.1",
"is-plain-obj": "^2.0.0",
"react": "^16.8.6",
"temp-write": "^4.0.0"
},
"peerDependencies": {
"eslint": ">=5",
"eslint-plugin-react": ">=7.12.3",
"eslint-plugin-react-hooks": ">=1.4.0"
"eslint": ">=6",
"eslint-plugin-react": ">=7.14.2",
"eslint-plugin-react-hooks": ">=1.6.1"
}
}

0 comments on commit 7ee855e

Please sign in to comment.