Skip to content

Commit 04a8e04

Browse files
authored
fix: Don't specify any jsxBracketSameLine parameter if none is specified (#430)
By removing the default value for jsx-bracket-same-line (which is just `undefined` anyway), no option value at all for jsxBracketSameLine will be generated if none is specified. Then if a recent version of prettier is in use for which that option is deprecated, it won't complain. Resolves #428.
1 parent f9debed commit 04a8e04

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,15 @@
232232
"maintenance"
233233
]
234234
},
235+
{
236+
"login": "gwhitney",
237+
"name": "Glen Whitney",
238+
"avatar_url": "https://avatars.githubusercontent.com/u/3825429?v=4",
239+
"profile": "https://github.com/gwhitney",
240+
"contributions": [
241+
"maintenance"
242+
]
243+
},
235244
{
236245
"login": "idahogurl",
237246
"name": "Rebecca Vest",

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ Thanks goes to these people ([emoji key][emojis]):
279279
<tr>
280280
<td align="center"><a href="https://github.com/sscaff1"><img src="https://avatars1.githubusercontent.com/u/1554424?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Steven Scaffidi</b></sub></a><br /><a href="https://github.com/prettier/prettier-eslint-cli/commits?author=sscaff1" title="Documentation">📖</a></td>
281281
<td align="center"><a href="http://danielwilhelmsen.com"><img src="https://avatars3.githubusercontent.com/u/1758049?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Daniel Wilhelmsen</b></sub></a><br /><a href="https://github.com/prettier/prettier-eslint-cli/commits?author=dpwilhelmsen" title="Code">💻</a> <a href="#maintenance-dpwilhelmsen" title="Maintenance">🚧</a></td>
282+
<td align="center"><a href="https://github.com/gwhitney"><img src="https://avatars.githubusercontent.com/u/3825429?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Glen Whitney</b></sub></a><br /><a href="#maintenance-gwhitney" title="Maintenance">🚧</a></td>
282283
<td align="center"><a href="https://campcode.dev/"><img src="https://avatars.githubusercontent.com/u/10620169?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rebecca Vest</b></sub></a><br /><a href="https://github.com/prettier/prettier-eslint-cli/commits?author=idahogurl" title="Code">💻</a></td>
283284
</tr>
284285
</table>

0 commit comments

Comments
 (0)