yaml-language-server icon indicating copy to clipboard operation
yaml-language-server copied to clipboard

Question: how to define a line length

Open citosid opened this issue 3 years ago • 1 comments

Summary

First of all, thank you for this awesome tool! I'm using it with neo vim and it works magnificently!

However, we have a rule in our automatic linting in our pipelines that forces us to have the lines 80 characters or less (just to make everybody write the same code). And I can't find a way to pass this variable. Do you know if there is any way to do it? Or any schema that is 80 lines long?

Thank you for your help!

Relevant information

citosid avatar Jun 24 '22 11:06 citosid

We do not have a linting option that limits column length. We depend on the editors that the yaml-language-server depends on for this functionality. What do you use for YAML linting outside of editors? Would setting the columncolor on vim be enough?

gorkem avatar Jul 09 '22 13:07 gorkem