8000 [eslint config] [semver-minor] enable `jsx-pascal-case` rule. · evozonjs/javascript@7b57311 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b57311

Browse files
committed
[eslint config] [semver-minor] enable jsx-pascal-case rule.
1 parent 6fd8fb6 commit 7b57311

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-airbnb/rules

1 file changed

+1
-1
lines changed

packages/eslint-config-airbnb/rules/react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module.exports = {
7373
'react/jsx-no-undef': 2,
7474
// Enforce PascalCase for user-defined JSX components
7575
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-pascal-case.md
76-
'react/jsx-pascal-case': 0,
76+
'react/jsx-pascal-case': 2,
7777
// Enforce propTypes declarations alphabetical sorting
7878
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-prop-types.md
7979
'react/sort-prop-types': [0, {

0 commit comments

Comments
 (0)
0