longkai / kubernetes-yaml-formatter

Kubernetes Style YAML Formatter for Visual Studio Code
MIT License
41 stars 3 forks source link

Yamllint conflict #6

Open pastukhov opened 1 year ago

pastukhov commented 1 year ago

Hi!

I have such diff after save YAML with this plugin:

- m1-db-tst11.domain.local   # DFINANS_TST
+ m1-db-tst11.domain.local  # DFINANS_TST

And yamllint is printing a warning:

warning  too few spaces before comment  (comments)

We are using --strict option to check our MR and it is not passing

Is number of spaces before comment configurable?

pastukhov commented 1 year ago

Any news?

longkai commented 2 weeks ago

Hi!

Sorry for the delay. I have fixed it in the v2 branch and it should release soon.