Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #36 from zapier/feature/add-explicit-boolean-rule
Browse files Browse the repository at this point in the history
Added explicit booleans
  • Loading branch information
Mariya authored May 8, 2018
2 parents 3dbdbe4 + 2fd86ac commit 17f88e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'react/jsx-no-undef': 'error',
'react/jsx-uses-react': 'error',
'react/jsx-uses-vars': 'error',
'react/jsx-boolean-value': ['error', 'always'],
'react/react-in-jsx-scope': 'error',
},
};

0 comments on commit 17f88e7

Please sign in to comment.