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
Composed functions not put on own line anymore after 1.14.0 update #4925
Comments
We recently blacklisted anything with |
I'd like to release 1.14.1 (ref: #4916 (comment) and #4932 (comment)), do you plan to fix this one in 1.14.1? |
@ikatyang made a PR, it can go in 1.14.1 |
This is still happening in 1.14.2: diff --git a/web/src/search/input/SearchFilterChips.tsx b/web/src/search/input/SearchFilterChips.tsx
index fabd6119b7..5acfd50d53 100644
--- a/web/src/search/input/SearchFilterChips.tsx
+++ b/web/src/search/input/SearchFilterChips.tsx
@@ -96,9 +96,7 @@ export class SearchFilterChips extends React.PureComponent<Props, State> {
return (
<div className="search-filter-chips">
{/* Filtering out empty strings because old configurations have "All repositories" with empty value, which is useless with new chips design. */}
- {scopes
- .filter(scope => scope.value !== '')
- .map((scope, i) => (
+ {scopes.filter(scope => scope.value !== '').map((scope, i) => (
<FilterChip
query={this.props.query}
onFilterChosen={this.onSearchScopeClicked} |
It does not look related to this issue, we only special-cased these functions: prettier/src/language-js/printer-estree.js Lines 3429 to 3440 in 9120689
Could you open a new issue? |
Getting these diffs a lot after the 1.14 update. Seems like the functional composition detection doesn't work anymore
Prettier 1.14.0
Playground link
Input:
Output:
Expected behavior:
as it was with 1.13
The text was updated successfully, but these errors were encountered: