File tree 2 files changed +3
-4
lines changed
packages/eslint-config-airbnb/rules
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,8 @@ module.exports = {
49
49
'react/jsx-closing-bracket-location' : [ 'error' , 'line-aligned' ] ,
50
50
51
51
// Validate closing tag location in JSX
52
- // https://github.com/yannickcr/eslint-plugin-react/blob/9e13ae2c51e44872b45cc15bf1ac3a72105bdd0e/docs/rules/jsx-closing-tag-location.md
53
- // TODO: enable, semver-minor
54
- 'react/jsx-closing-tag-location' : 'off' ,
52
+ // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-tag-location.md
53
+ 'react/jsx-closing-tag-location' : 'error' ,
55
54
56
55
// Enforce or disallow spaces inside of curly braces in JSX attributes
57
56
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-spacing.md
Original file line number Diff line number Diff line change 165
165
166
166
## Alignment
167
167
168
- - Follow these alignment styles for JSX syntax . eslint : [` react/jsx-closing-bracket-location` ](https: // github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-bracket-location.md)
168
+ - Follow these alignment styles for JSX syntax . eslint : [` react/jsx-closing-bracket-location` ](https: // github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-bracket-location.md) [`react/jsx-closing-tag-location`](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-tag-location.md)
169
169
170
170
` ` ` jsx
171
171
// bad
You can’t perform that action at this time.
0 commit comments