[eslint config] [semver-minor] enable jsx-pascal-case rule.

This commit is contained in:
Jordan Harband
2016-04-06 22:52:55 -07:00
parent 6fd8fb60b3
commit 7b5731157f

View File

@@ -73,7 +73,7 @@ module.exports = {
'react/jsx-no-undef': 2,
// Enforce PascalCase for user-defined JSX components
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-pascal-case.md
'react/jsx-pascal-case': 0,
'react/jsx-pascal-case': 2,
// Enforce propTypes declarations alphabetical sorting
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-prop-types.md
'react/sort-prop-types': [0, {