We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
jsx-pascal-case
1 parent d25a199 commit db73278Copy full SHA for db73278
packages/eslint-config-airbnb/rules/react.js
@@ -64,7 +64,10 @@ module.exports = {
64
'react/jsx-no-undef': 2,
65
// Enforce PascalCase for user-defined JSX components
66
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-pascal-case.md
67
- 'react/jsx-pascal-case': 2,
+ 'react/jsx-pascal-case': [2, {
68
+ 'allowAllCaps': true,
69
+ 'ignore': [],
70
+ }],
71
// Enforce propTypes declarations alphabetical sorting
72
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-prop-types.md
73
'react/sort-prop-types': [0, {
0 commit comments