Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix eslint for json_utils.ts #2911

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

ultmaster
Copy link
Contributor

json_utils.ts somehow doesn't pass the pipeline now.

I don't know how that happened. Maybe we are testing HEAD instead of MERGE?

@@ -50,7 +49,7 @@ function batchFormat(

const hasNested = nonNull.some(obj => detectNested(obj));

if (!hasNested && lines.every(line => (line.length + curIndent.length < width))) {
if (!hasNested && lines.every(line => line.length + curIndent.length < width)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally think this expression is really hard to read...

@chicm-ms chicm-ms merged commit 3604243 into microsoft:master Sep 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants