config file should also be loaded from .ansible-lint.yml by default #2056
Replies: 3 comments 4 replies
-
Oh, and using |
Beta Was this translation helpful? Give feedback.
-
I would also add that both |
Beta Was this translation helpful? Give feedback.
-
2 years and no traction?! |
Beta Was this translation helpful? Give feedback.
-
There used to be a single default location for the ansible-lint config file:
.ansible-lint
.Since #1822 there's also
.config/ansible-lint.yml
(note the missing dot and the added extension).To make life easier for
pre-commit
and various editors that detect file types by extension, the location I tend to use is.ansible-lint.yml
in the project's root folder. It would be nice if this could be added as a default third location for this file so I don't have to specify-c .ansible-lint.yml
all the time. Alternatively i'm more than happy to remove.ansible-lint
alltogether and always require a.yml
extension in both default locations.I just wanted to ask for a bit of feedback before I open a PR with the necessary changes since there are a few possible options and I might not have the full picture on which one would be better.
Beta Was this translation helpful? Give feedback.
All reactions