Skip to content

Commit

Permalink
[Docs] jsx-first-prop-new-line: add rule options
Browse files Browse the repository at this point in the history
  • Loading branch information
SerdarMustafa1 authored and ljharb committed Oct 17, 2019
1 parent 11dc56b commit 9e4ad21
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/rules/jsx-first-prop-new-line.md
Expand Up @@ -99,6 +99,12 @@ The following patterns are **not** considered warnings when configured `"multili
/>
```

## Rule Options

...jsx
"react/jsx-max-props-per-line": `"always" | "never" | "multiline" | "multiline-multiprop"`
...

## When not to use

If you are not using JSX then you can disable this rule.

0 comments on commit 9e4ad21

Please sign in to comment.