aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-08-11 21:43:59 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-08-11 21:43:59 +0900
commitaef9c037b07001ed094408fae8387c31ca13f3f8 (patch)
treef5f9b14df6fda1f8d569b3a731e149889bca33ae
parent83eacb6bc56cdcc3cd76d57e3acc065c80f1fa66 (diff)
Set react version on eslint
-rw-r--r--.eslintrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
index 7a0d757..dcdef09 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -23,6 +23,11 @@
"jsx": true
}
},
+ "settings": {
+ "react": {
+ "version": "detect"
+ }
+ },
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-function": "off",