Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jsx-props-no-multi-spaces.md #1918

Merged
merged 1 commit into from Aug 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/rules/jsx-props-no-multi-spaces.md
@@ -1,6 +1,8 @@
# Disallow multiple spaces between inline JSX props
# Disallow multiple spaces between inline JSX props (react/jsx-props-no-multi-spaces)

Enforces that there is exactly one space between two JSX attributes or the JSX tag name and the first JSX attribute in the same line.
Enforces that there is exactly one space between all attributes and after tag name and the first attribute in the same line.

**Fixable:** This rule is automatically fixable using the `--fix` flag on the command line.

## Rule Details

Expand Down