From b504e79113c050774b0e5790834d3db20c01b752 Mon Sep 17 00:00:00 2001 From: Hozefa Date: Thu, 10 May 2018 06:07:52 -0700 Subject: [PATCH] update doc with example for JSX Brackets config (#4455) * update doc with example for JSX Brackets config * Put ignore comment before code blocks * Make Prettier happy --- docs/options.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/options.md b/docs/options.md index c4411971c..f8fb14dee 100644 --- a/docs/options.md +++ b/docs/options.md @@ -94,6 +94,33 @@ Valid options: Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line (does not apply to self closing elements). +Valid options: + +* `true` - Example: + + +``` + +``` + +* `false` - Example: + + +``` + +``` + | Default | CLI Override | API Override | | ------- | ------------------------- | ---------------------------- | | `false` | `--jsx-bracket-same-line` | `jsxBracketSameLine: ` |