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

Improve CSpell linter output #578

Merged
merged 1 commit into from
Dec 20, 2022
Merged

Conversation

javydekoning
Copy link
Contributor

Why?

CSpell output from linter is today is hard to understand as it prints every filename. This can be suppressed. We should only print the filename, the error (misspelled word), line number and optionally suggestions.

Issue #, if available:

What?

Description of changes:

  • Remove --unique to print ALL findings.
  • Remove --words-only to print full filename for findings.
  • Add --no-progress to remove filenames without findings from linter output.
  • Add --show-suggestions to indicate potential fixes.

By submitting this pull request, I confirm that you can use, modify, copy, and
redistribute this contribution, under the terms of your choice.

@StewartW StewartW merged commit 13f8c53 into awslabs:master Dec 20, 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.

3 participants