You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/jsx-space-before-closing.md
+2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Validate spacing before closing bracket in JSX (jsx-space-before-closing)
2
2
3
+
**Deprecation notice**: This rule is deprecated. Please use the `"beforeSelfClosing"` option of the [jsx-tag-spacing](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md) rule instead.
4
+
3
5
Enforce or forbid spaces before the closing bracket of self-closing JSX elements.
4
6
5
7
**Fixable:** This rule is automatically fixable using the `--fix` flag on the command line.
0 commit comments