diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 47603cf..5449a4b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,11 +1,11 @@ --- version: 2 updates: - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: github-actions + directory: / schedule: - interval: "daily" - - package-ecosystem: "npm" - directory: "/" + interval: daily + - package-ecosystem: npm + directory: / schedule: - interval: "daily" + interval: daily diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab608f5..52b9912 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,16 +21,12 @@ repos: - id: detect-private-key - id: destroyed-symlinks - id: mixed-line-ending - - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v4.0.0-alpha.8" - hooks: - - id: prettier - repo: https://github.com/adrienverge/yamllint rev: v1.35.1 hooks: - id: yamllint - repo: https://github.com/ansible-community/ansible-lint - rev: v24.10.0 + rev: v24.12.0 hooks: - id: ansible-lint args: diff --git a/.yamllint b/.yamllint index 8c9403d..b84ad5a 100644 --- a/.yamllint +++ b/.yamllint @@ -2,22 +2,36 @@ extends: default rules: + anchors: + forbid-undeclared-aliases: true + forbid-duplicated-anchors: true + forbid-unused-anchors: true braces: max-spaces-inside: 1 + min-spaces-inside-empty: 0 + max-spaces-inside-empty: 0 + brackets: + min-spaces-inside-empty: 0 + max-spaces-inside-empty: 0 comments: min-spaces-from-content: 1 comments-indentation: false document-start: level: error + empty-lines: + max: 1 line-length: max: 120 octal-values: forbid-explicit-octal: true forbid-implicit-octal: true + quoted-strings: + quote-type: double + required: only-when-needed truthy: level: error yaml-files: - "*.yaml" - "*.yml" - - ".yamllint" + - .yamllint