Skip to content

skip_list: - yaml[indentation] doesn't work #4344

Open
@alexiszamanidis

Description

Hello,

I want to express my gratitude for the excellent linter you've developed.

I'd like to report an issue regarding the skip_list feature, specifically with:

# .ansible-lint
skip_list:
  - yaml[indentation]

I've added it to my .ansible-lint file, but it doesn't seem to skip these checks as expected. You can review the issue in the following commit where the indentation is enforced after running ansible-lint.

Could you please confirm if I'm missing something or if this might be a bug?

Additionally, I'm curious if there's a way to specify the number of spaces for indentation, as I couldn't find any documentation on this.

Any guidance on this matter would be greatly appreciated.

Metadata

Assignees

No one assigned

    Labels

    bugdocumentationThis issue or PR is related to the docs

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions