[guide] [react] Update React README ref to jsx-a11y/jsx-space-before-closing

This commit is contained in:
Jordan Harband
2017-05-09 10:39:35 -07:00
parent 2f912c1dd3
commit 152eaa6669

View File

@@ -212,7 +212,7 @@
## Spacing
- Always include a single space in your self-closing tag. eslint: [`no-multi-spaces`](http://eslint.org/docs/rules/no-multi-spaces), [`react/jsx-space-before-closing`](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-space-before-closing.md)
- Always include a single space in your self-closing tag. eslint: [`no-multi-spaces`](http://eslint.org/docs/rules/no-multi-spaces), [`react/jsx-tag-spacing`](https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md)
```jsx
// bad