Skip to content

Commit 089a3a0

Browse files
committed
build: add react settings to eslint config
1 parent 41b9f90 commit 089a3a0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.eslintrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,12 @@
1111
},
1212
"env": {
1313
"es6": true
14+
},
15+
"settings": {
16+
"react": {
17+
"pragma": "React",
18+
"version": "detect",
19+
"flowVersion": "detect"
20+
}
1421
}
1522
}

0 commit comments

Comments
 (0)