Skip to content

Commit abcc0c6

Browse files
author
Kenny Tran
authored
Capitalize all comments in react.js
1 parent 325f8ba commit abcc0c6

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
// View link below for react rules documentation
1515
// https://github.com/yannickcr/eslint-plugin-react#list-of-supported-rules
1616
rules: {
17-
// specify whether double or single quotes should be used in JSX attributes
17+
// Specify whether double or single quotes should be used in JSX attributes
1818
// http://eslint.org/docs/rules/jsx-quotes
1919
'jsx-quotes': [2, 'prefer-double'],
2020

@@ -91,7 +91,7 @@ module.exports = {
9191
callbacksLast: false,
9292
}],
9393

94-
// deprecated in favor of react/jsx-sort-props
94+
// Deprecated in favor of react/jsx-sort-props
9595
'react/jsx-sort-prop-types': 0,
9696

9797
// Enforce props alphabetical sorting
@@ -207,15 +207,15 @@ module.exports = {
207207
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-first-prop-new-line.md
208208
'react/jsx-first-prop-new-line': [2, 'multiline'],
209209

210-
// enforce spacing around jsx equals signs
210+
// Enforce spacing around jsx equals signs
211211
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-equals-spacing.md
212212
'react/jsx-equals-spacing': [2, 'never'],
213213

214-
// enforce JSX indentation
214+
// Enforce JSX indentation
215215
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-indent.md
216216
'react/jsx-indent': [2, 2],
217217

218-
// disallow target="_blank" on links
218+
// Disallow target="_blank" on links
219219
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-target-blank.md
220220
// TODO: enable
221221
'react/jsx-no-target-blank': 0

0 commit comments

Comments
 (0)