Skip to content

Commit 028ffa6

Browse files
committedApr 20, 2021
Getting rid of "React version not specified" warning while linting.
1 parent 8335707 commit 028ffa6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎.eslintrc

+5
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@
1111
"class-methods-use-this": "off",
1212
"arrow-body-style": "off",
1313
"no-loop-func": "off"
14+
},
15+
"settings": {
16+
"react": {
17+
"version": "latest"
18+
}
1419
}
1520
}

0 commit comments

Comments
 (0)