Skip to content
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

feat(lint): add a report lint config setting #16045

Merged
merged 11 commits into from
Oct 25, 2022

Conversation

brenelz
Copy link
Contributor

@brenelz brenelz commented Sep 26, 2022

Builds off this PR to add a "report" setting to deno.json which can be "pretty", "compact", or "json"

#15926

Open to feedback. Struggled a bit with the rust code and probably easier ways to do things

@bartlomieju bartlomieju self-requested a review September 30, 2022 11:29
@bartlomieju bartlomieju added this to the 1.27 milestone Sep 30, 2022
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

Looks good, could you update cli/schemas/config-file.v1.json?

@brenelz
Copy link
Contributor Author

brenelz commented Oct 8, 2022

Looks good, could you update cli/schemas/config-file.v1.json?

updated

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

One small nitpick and it's good to land.

@@ -249,6 +249,10 @@
"uniqueItems": true
}
}
},
"report": {
"type": "string",
Copy link
Member

Choose a reason for hiding this comment

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

I think it might be better to use enum here with default set to pretty

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should be updated

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@bartlomieju bartlomieju merged commit a189c53 into denoland:main Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants