[react] add rule references in section *Spacing*

This commit is contained in:
Pete Pirasis
2016-10-27 01:58:42 +07:00
committed by GitHub
parent 0e2b74a263
commit adc782343e

View File

@@ -206,7 +206,7 @@
## Spacing
- Always include a single space in your self-closing tag.
- 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)
```jsx
// bad