chore: Use react version autodetect with eslint
This commit is contained in:
committed by
Tom MacWright
parent
6d53b424b8
commit
9f2d341e5c
@ -4,6 +4,11 @@
|
|||||||
"browser": true,
|
"browser": true,
|
||||||
"node": true
|
"node": true
|
||||||
},
|
},
|
||||||
|
"settings": {
|
||||||
|
"react": {
|
||||||
|
"version": "detect"
|
||||||
|
}
|
||||||
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"react",
|
"react",
|
||||||
"babel"
|
"babel"
|
||||||
@ -23,6 +28,7 @@
|
|||||||
"no-undef": [2],
|
"no-undef": [2],
|
||||||
"no-underscore-dangle": [2],
|
"no-underscore-dangle": [2],
|
||||||
"no-unused-vars": [2],
|
"no-unused-vars": [2],
|
||||||
|
"no-self-assign": [0],
|
||||||
"no-use-before-define": [0],
|
"no-use-before-define": [0],
|
||||||
"quotes": [2, "single", {"allowTemplateLiterals": true}],
|
"quotes": [2, "single", {"allowTemplateLiterals": true}],
|
||||||
"react/display-name": [2],
|
"react/display-name": [2],
|
||||||
|
Reference in New Issue
Block a user