Skip to content

Commit

Permalink
Disable comments-identation yaml rule (#1572)
Browse files Browse the repository at this point in the history
In order to avoid false positive results about comment identation,

Keep in mind that these settings are used only if there is no
.yamllint config inside the current repository. Users still have
the option to override the default value and reactivate the rule
if they want.

Related: adrienverge/yamllint#384
  • Loading branch information
ssbarnea committed May 22, 2021
1 parent 3479188 commit aedccc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ansiblelint/rules/YamllintRule.py
Expand Up @@ -28,6 +28,8 @@
YAMLLINT_CONFIG = """
extends: default
rules:
# https://github.com/adrienverge/yamllint/issues/384
comments-indentation: false
document-start: disable
# 160 chars was the default used by old E204 rule, but
# you can easily change it or disable in your .yamllint file.
Expand Down

0 comments on commit aedccc1

Please sign in to comment.