Browse Source

Configures and disables linters

Adds YAML linting configuration and disables unnecessary
linters to streamline the CI/CD process and reduce
noise from irrelevant checks.
pull/4854/head
Daniel Gibbs 4 months ago
parent
commit
74aae8a66f
Failed to extract signature
  1. 25
      .github/linters/.yaml-lint.yml
  2. 2
      .github/workflows/action-super-linter.yml

25
.github/linters/.yaml-lint.yml

@ -0,0 +1,25 @@
extends: default
rules:
document-start: disable
truthy: disable
line-length:
max: 200
level: warning
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
braces:
min-spaces-inside: 0
max-spaces-inside: 1
min-spaces-inside-empty: 0
max-spaces-inside-empty: 0
empty-lines:
max: 2
max-start: 0
max-end: 0
comments:
min-spaces-from-content: 1

2
.github/workflows/action-super-linter.yml

@ -49,5 +49,3 @@ jobs:
VALIDATE_SHELL_SHFMT: false
VALIDATE_TERRAFORM_TERRASCAN: false
VALIDATE_YAML_PRETTIER: false

Loading…
Cancel
Save