chore: shorten filename (#3636)

Context: https://github.com/prettier/prettier/pull/3627#issuecomment-354935942
This commit is contained in:
Ika authored and Joseph Frazier committed 2018-01-02 23:48:46 -05:00
1 parent 6a953e47b5
commit dbe0758b48
2 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ We should print a ternary using JSX mode if:
```
However, this heuristic caused some [unexpected formatting](https://github.com/prettier/prettier/issues/2729):
![Github Diff showing a ternary containing internationalization strings appearing inside a JSX element being converted to use JSX-mode style ternaries](/blog/assets/github-diff-showing-a-ternary-containing-internationalization-strings-appearing-inside-a-jsx-element-being-converted-to-use-jsx-mode-style-ternaries.png)
![Github Diff showing a ternary containing internationalization strings appearing inside a JSX element being converted to use JSX-mode style ternaries](/blog/assets/github-diff-ternary-in-jsx.png)
So, in 1.7.0, we have revised our heuristic to just be: