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

remove trailing whitespaces from yml files #481

Merged
merged 1 commit into from
Jun 22, 2021

Conversation

skipkayhil
Copy link
Contributor

Using command: sed -i 's/[ \t]*$//' gems/**/*.yml

(requires gsed)

Trailing whitespace in multiline text blocks prevents them from being
dumped in the 'pretty', | format with YAML.dump

Ref: #479

Using command: sed -i 's/[ \t]*$//' gems/**/*.yml

(requires gsed)

Trailing whitespace in multiline text blocks prevents them from being
dumped in the 'pretty', | format with YAML.dump
@reedloden
Copy link
Member

Can we add a linting rule to detect and block on this in the future?

@reedloden reedloden merged commit 8c1cd7d into rubysec:master Jun 22, 2021
@skipkayhil skipkayhil deleted the fix-whitespace branch September 1, 2021 17:14
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.

2 participants