Ignore unused React when using JSX

pull/21833/head
Luke Barnard 2017-11-10 16:11:59 +00:00
parent ceda5939f9
commit 1c82df216e
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ module.exports = {
// This just uses the react plugin to help eslint known when
// variables have been used in JSX
"react/jsx-uses-vars": "error",
// Don't mark React as unused if we're using JSX
"react/jsx-uses-react": "error",
// bind or arrow function in props causes performance issues
"react/jsx-no-bind": ["error", {