Skip to content

Commit

Permalink
yamllint: Explicitly specify files to be linted to avoid expanding th…
Browse files Browse the repository at this point in the history
…e ignored files. (#394)
  • Loading branch information
kirkrodrigues authored May 13, 2024
1 parent 4fe4f0c commit 9ccefad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
11 changes: 0 additions & 11 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion lint-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,15 @@ tasks:
cmds:
- |-
. "{{.G_LINT_VENV_DIR}}/bin/activate"
yamllint --strict .
yamllint --strict \
.github \
.yamllint.yml \
components/core/.clang-format \
components/core/config \
components/package-template/src/etc \
docs \
lint-tasks.yml \
Taskfile.yml
cpp:
internal: true
Expand Down

0 comments on commit 9ccefad

Please sign in to comment.