mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
lint updates
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
bc4b2f3fab
commit
2974fa5385
2 changed files with 28 additions and 13 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
parseable: true
|
parseable: true
|
||||||
quiet: true
|
quiet: true
|
||||||
skip_list:
|
skip_list:
|
||||||
|
- 'schema'
|
||||||
|
- 'no-changed-when'
|
||||||
|
- 'fqcn-builtins'
|
||||||
- '204'
|
- '204'
|
||||||
- '305'
|
- '305'
|
||||||
- '303'
|
- '303'
|
||||||
|
|
|
||||||
38
.yamllint
38
.yamllint
|
|
@ -2,22 +2,34 @@
|
||||||
ignore: |
|
ignore: |
|
||||||
tests/
|
tests/
|
||||||
molecule/
|
molecule/
|
||||||
|
.github/
|
||||||
.gitlab-ci.yml
|
.gitlab-ci.yml
|
||||||
*molecule.yml
|
*molecule.yml
|
||||||
|
|
||||||
extends: default
|
extends: default
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
indentation:
|
indentation:
|
||||||
# Requiring 4 space indentation
|
# Requiring 4 space indentation
|
||||||
spaces: 4
|
spaces: 4
|
||||||
# Requiring consistent indentation within a file, either indented or not
|
# Requiring consistent indentation within a file, either indented or not
|
||||||
indent-sequences: consistent
|
indent-sequences: consistent
|
||||||
truthy: disable
|
truthy: disable
|
||||||
braces:
|
braces:
|
||||||
max-spaces-inside: 1
|
max-spaces-inside: 1
|
||||||
level: error
|
level: error
|
||||||
brackets:
|
brackets:
|
||||||
max-spaces-inside: 1
|
max-spaces-inside: 1
|
||||||
level: error
|
level: error
|
||||||
line-length: disable
|
indentation:
|
||||||
|
indent-sequences: consistent
|
||||||
|
level: error
|
||||||
|
line-length: disable
|
||||||
|
key-duplicates: enable
|
||||||
|
new-line-at-end-of-file: enable
|
||||||
|
new-lines:
|
||||||
|
type: unix
|
||||||
|
trailing-spaces: enable
|
||||||
|
truthy:
|
||||||
|
allowed-values: ['true', 'false']
|
||||||
|
check-keys: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue