google / google/yamlfmt

max_line_length does not hold

Open
#191 5 comments 8 reactions 0 assignees View on GitHub
yaml_v3_problem
Dominant language
Go
Stars
1.8k
Forks
75
PR merge metrics
No merged PRs in 30d

Description

max_line_length does not ensure that a lines has less characters than this value. Instead, the line is broken after the first word that is located after max_line_length.

A quick fix would be to simply apply a line break on the blank space before the word, and not after.

I understand that this feature is still under development.

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.