Skip to content

Commit

Permalink
eslint: Mute warning about missing react version
Browse files Browse the repository at this point in the history
Previously we were seeing the following error when running eslint.
Warning: React version not specified in eslint-plugin-react settings. See https://github.com/yannickcr/eslint-plugin-react#configuration.

Closes cockpit-project#10147
  • Loading branch information
KKoukiou authored and martinpitt committed Sep 25, 2018
1 parent 3282943 commit 1ec0c07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,10 @@
"globals": {
"require": false,
"module": false
},
"settings": {
"react": {
"version": "latest"
}
}
}

0 comments on commit 1ec0c07

Please sign in to comment.