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

Change message from "Unnecessary space(s)" to "Unnecessary long whitespace" #1400

Conversation

paul-dingemans
Copy link
Collaborator

@paul-dingemans paul-dingemans commented Mar 8, 2022

Description

Change message from "Unnecessary space(s)" to "Unnecessary long whitespace". The length of the whitespace element is considered while it is not checked whether the whitespace actually contains spaces only. However, it still make sense to replace a non-indent whitespace which is too long, by a single space.

Closes #1394

Checklist

  • tests are added
  • CHANGELOG.md is updated

…space". The length of the whitespace element is considered while it is not checked whether the whitespace actually contains spaces only. However, it still make sense to replace a non-indent whitespace which is too long, by a single space.

#Closes 1394
@paul-dingemans paul-dingemans mentioned this pull request Mar 8, 2022
2 tasks
@paul-dingemans paul-dingemans added this to the 0.45.0 milestone Mar 8, 2022
@paul-dingemans paul-dingemans merged commit 700d18e into pinterest:master Mar 8, 2022
@paul-dingemans paul-dingemans deleted the 1394-fix-lint-message-plus-refactor branch March 8, 2022 19:18
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.

The no-multi-spaces reports "Unnecessary spaces" even in case the whitespace contains tabs only
1 participant