summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-04-06 18:04:35 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-04-06 18:04:35 -0700
commitad76329530859f3e34f14f4fe13f93905e5f30cf (patch)
tree89ce3a66ff5f75bc225ee70818f077d94716a450
parentb5d471346c23ac2027506caa66d09da22126b2a3 (diff)
Setup react properly
-rw-r--r--.eslintrc.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 5abb55b..d98a823 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -5,7 +5,7 @@ module.exports = {
jest: true,
node: true
},
- extends: 'eslint:recommended',
+ extends: ['eslint:recommended', 'plugin:react/recommended'],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
@@ -19,6 +19,6 @@ module.exports = {
},
plugins: ['react'],
rules: {
- 'react/jsx-uses-react': 1
+ 'react/prop-types': 0
}
}