You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --fix feature dealing with formatting of YAML is scope creep beyond what I want a tool named ansible-lint to do. I don't want ansible-lint linting YAML form (I run yamllint separately so that I can lint non-Ansible files, and have clear separation of tools), but at least I can disable that and it gets out of the way.
I handle YAML auto-formatting with a separate tool (yamlfix or Prettier). I would expect ansible-lint --fix to only fix Ansible-specific issues, but it reformats the whole file. I don't even use the feature because it's incompatible with my YAML formatting and linting tools.
Since #4139 and #4158, I have to deal with a warning that I can't suppress because of a feature that has a scope beyond what it should.
Please consider whittling down the feature to remove YAML formatting concerns and instead recommend other tools for that purpose. At a minimum, the warning about incompatible yamllint settings should be suppressible.
Issue Type
Bug Report
The text was updated successfully, but these errors were encountered:
Summary
The
--fix
feature dealing with formatting of YAML is scope creep beyond what I want a tool named ansible-lint to do. I don't want ansible-lint linting YAML form (I run yamllint separately so that I can lint non-Ansible files, and have clear separation of tools), but at least I can disable that and it gets out of the way.I handle YAML auto-formatting with a separate tool (yamlfix or Prettier). I would expect
ansible-lint --fix
to only fix Ansible-specific issues, but it reformats the whole file. I don't even use the feature because it's incompatible with my YAML formatting and linting tools.Since #4139 and #4158, I have to deal with a warning that I can't suppress because of a feature that has a scope beyond what it should.
Please consider whittling down the feature to remove YAML formatting concerns and instead recommend other tools for that purpose. At a minimum, the warning about incompatible yamllint settings should be suppressible.
Issue Type
The text was updated successfully, but these errors were encountered: