google / google/yamlfmt

feature request: ignore specific lines instead of entire file

Open
#126 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
1.8k
Forks
75
PR merge metrics
No merged PRs in 30d

Description

I would like to mark a line as to be ignored by yamlfmt. Similar to the use of `# noqa` and similar ignore syntaxes.

I'm using yamlfmt to format CircleCI config files, which references variables as `<< foo.bar >>` and this should not be reformatted. But when limiting line length to N, yamlfmt will try to break it down in smaller lines.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.