Skip to content

Commit

Permalink
Fix linting in examples and update React version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Mar 3, 2019
1 parent 57295da commit 0248fb2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions examples/.eslintrc
@@ -0,0 +1,23 @@
{
"extends": [
"plugin:prettier/recommended",
"plugin:promise/recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["jest", "promise", "react", "react-hooks"],
"rules": {
"react/prop-types": "none",
"react-hooks/rules-of-hooks": "error"
},
"settings": {
"react": {
"version": "16.8"
}
}
}
6 changes: 3 additions & 3 deletions examples/basic-hook/package.json
Expand Up @@ -3,9 +3,9 @@
"version": "0.0.0",
"private": true,
"dependencies": {
"react": "16.8.0-alpha.0",
"react-async": "3.11.0",
"react-dom": "16.8.0-alpha.0",
"react": "16.8.3",
"react-async": "latest",
"react-dom": "16.8.3",
"react-scripts": "2.1.2"
},
"scripts": {
Expand Down

0 comments on commit 0248fb2

Please sign in to comment.