Skip to content

Commit 8d6319f

Browse files
ESLint configutration > React plugin: set React version to 'latest', as per jsx-eslint/eslint-plugin-react#1955
1 parent ba241e2 commit 8d6319f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.eslintrc.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,10 @@
2525
},
2626
"plugins": [
2727
"react"
28-
]
29-
}
28+
],
29+
"settings": {
30+
"react": {
31+
"version": "latest"
32+
}
33+
}
34+
}

0 commit comments

Comments
 (0)