10000
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.
react-jsx-tag-spacing
1 parent c6e8d8a commit 71817d8Copy full SHA for 71817d8
react.js
@@ -17,10 +17,12 @@ module.exports = {
17
18
rules: {
19
'jsx-quotes': [ error, 'prefer-double' ],
20
- 'react/jsx-indent': [ warn, 2 ],
21
- 'react/jsx-indent-props': [ warn, 2 ],
22
'react/forbid-prop-types': [ error, { 'forbid': [ any ] } ],
23
'react/jsx-boolean-value': [ off ],
+ 'react/jsx-indent': [ warn, 2 ],
+ 'react/jsx-indent-props': [ warn, 2 ],
24
+ 'react/jsx-pascal-case': error,
25
+ 'react/jsx-tag-spacing': [ error, { 'beforeSelfClosing': 'always' } ],
26
'react/sort-comp': [ error, {
27
'order': [
28
'static-methods',
@@ -54,7 +56,6 @@ module.exports = {
54
56
]
55
57
}
58
} ],
- 'react/jsx-pascal-case': error,
59
'react/no-did-mount-set-state': error,
60
'react/no-did-update-set-state': error,
61
'react/no-unused-prop-types': warn,
0 commit comments