Skip to content

Commit 6a0f9bc

Browse files
authored
fix(core): add lint settings for react version to prevent warning while running lint - @Shalinit3
2 parents 743d558 + 098bc34 commit 6a0f9bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ parser: babel-eslint
55
extends: [standard, standard-react, prettier, prettier/react]
66
plugins: [babel, react, prettier]
77

8+
settings: {
9+
react: {
10+
version: 'detect'
11+
}
12+
}
13+
814
env:
915
browser: true
1016
es6: true

0 commit comments

Comments
 (0)