75 lines
1.7 KiB
Plaintext
75 lines
1.7 KiB
Plaintext
---
|
|
exclude_paths:
|
|
- molecule/
|
|
- .pre-commit-config.yaml
|
|
- .github/
|
|
|
|
parseable: true
|
|
|
|
use_default_rules: true
|
|
|
|
enable_list:
|
|
# Specific to use of command and shell modules
|
|
- command-instead-of-module
|
|
- command-instead-of-shell
|
|
- deprecated-command-syntax
|
|
- inline-env-var
|
|
- no-changed-when
|
|
- risky-shell-pipe
|
|
# Related to internal implementation of the linter
|
|
- internal-error
|
|
- load-failure
|
|
- parser-error
|
|
- syntax-check
|
|
# Indicate use of features that are removed from Ansible
|
|
- deprecated-bare-vars
|
|
- deprecated-command-syntax
|
|
- deprecated-local-action
|
|
- deprecated-module
|
|
- no-jinja-when
|
|
- role-name
|
|
# Related to code-style
|
|
- no-jinja-nesting
|
|
- no-tabs
|
|
- playbook-extension
|
|
- risky-octal
|
|
- var-spacing
|
|
- yaml
|
|
# Possible indication that consequent runs would produce different results
|
|
- git-latest
|
|
- hg-latest
|
|
- no-changed-when
|
|
- package-latest
|
|
# Anti-pattern detected, likely to cause undesired behavior
|
|
- command-instead-of-module
|
|
- command-instead-of-shell
|
|
- empty-string-compare
|
|
- inline-env-var
|
|
- literal-compare
|
|
- no-handler
|
|
- no-loop-var-prefix
|
|
- no-relative-paths
|
|
- unnamed-task
|
|
- var-naming
|
|
# Invalid metadata, likely related to galaxy, collections or roles
|
|
- meta-incorrect
|
|
- meta-no-tags
|
|
- meta-video-links
|
|
- role-name
|
|
- ignore-errors
|
|
- partial-become
|
|
- syntax-check
|
|
# External linter which will also produce its own rule codes.
|
|
- yaml
|
|
|
|
warn_list:
|
|
- experimental # all rules tagged as experimental
|
|
- meta-no-info # meta/main.yml should contain relevant info
|
|
- risky-file-permissions # File permissions unset or incorrect
|
|
|
|
skip_list:
|
|
- role-name # BUG
|
|
- name[casing]
|
|
|
|
verbosity: 1
|