Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for config with the yml/yaml extension #4416

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

cornfeedhobo
Copy link
Contributor

@cornfeedhobo cornfeedhobo commented Nov 18, 2024

Put simply, it's extremely annoying to configure every editor to associate .ansible-lint with yaml. It'd be a lot easier if this tool accepted a sane file extension. This PR makes that happen!

  1. add support for .ansible-lint.yml
  2. add support for .ansible-lint.yaml
  3. minor fix to DEFAULT_KINDS which wasn't flagging .config/ansible-lint.yaml as a ansible-lint-config

Copy link
Contributor

@shatakshiiii shatakshiiii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@audgirka audgirka self-assigned this Dec 4, 2024
@audgirka audgirka enabled auto-merge (squash) December 4, 2024 13:11
@shatakshiiii shatakshiiii disabled auto-merge December 4, 2024 13:23
@audgirka audgirka merged commit 375c2e3 into ansible:main Dec 4, 2024
26 of 27 checks passed
@ssbarnea ssbarnea changed the title search for config with the yml/yaml extension Search for config with the yml/yaml extension Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants