From 94c10053b27a507810d36fd76563df3f0b4d0f3f Mon Sep 17 00:00:00 2001 From: Kirk Rodrigues <2454684+kirkrodrigues@users.noreply.github.com> Date: Sat, 11 May 2024 06:34:27 -0400 Subject: [PATCH] yamllint: Explicitly specify files to be linted to avoid expanding the ignored files. --- .yamllint.yml | 11 ----------- lint-tasks.yml | 9 ++++++++- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.yamllint.yml b/.yamllint.yml index dbc7e123b..906fb5a5c 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -6,17 +6,6 @@ yaml-files: - "*.yaml" - "*.yml" -ignore: | - .lint-venv/ - build/ - components/core/build/ - components/core/cmake-build-debug/ - components/core/cmake-build-release/ - components/core/submodules/ - components/core/third-party/ - components/webui/node_modules/ - components/webui/linter/node_modules/ - rules: anchors: forbid-duplicated-anchors: true diff --git a/lint-tasks.yml b/lint-tasks.yml index 43f46e39d..060f08122 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -98,7 +98,14 @@ tasks: cmds: - |- . "{{.G_LINT_VENV_DIR}}/bin/activate" - yamllint . + yamllint \ + .github \ + .yamllint.yml \ + components/core/.clang-format \ + components/core/config \ + components/package-template/src/etc \ + lint-tasks.yml \ + Taskfile.yml cpp: internal: true