lint updates

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-09-16 11:04:12 +01:00
parent bc4b2f3fab
commit 2974fa5385
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB
2 changed files with 28 additions and 13 deletions

View file

@ -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'

View file

@ -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