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

make trailing-spaces ignore YAML to avoid conflict with insert-yaml-attributes #141

Merged
merged 1 commit into from
Nov 18, 2021
Merged

Conversation

chrisgrieser
Copy link
Contributor

Right now, the attributes added by insert-yaml-attributes are missing trailing spaces, even when they they are set in the settings. so when I have tags: there, then after linting, I only get tags: in my document. I assume this is due to the trailing-spaces rule not ignoring yaml.

Having that trailing whitespace there is actually useful, since you need a space after the : in yaml to have valid yaml, having the space there saves the time of manually typing it every time.

@platers platers merged commit 1528d24 into platers:master Nov 18, 2021
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