Skip to content

Commit

Permalink
rely on .yamllint.yml for configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fmichonneau committed Aug 14, 2020
1 parent 380fc4c commit fc2e5d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/yaml-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint glossary.yml with yamllint
run: |
yamllint -d "{extends: default, rules: {trailing-spaces: disable, line-length: disable}}" glossary.yml
yamllint glossary.yml
- name: Lint _config.yml with yamllint
run: |
yamllint -d "{extends: default, rules: {trailing-spaces: disable, line-length: disable, document-start: {present: false}}}" _config.yml
yamllint _config.yml
3 changes: 3 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ rules:
document-start:
present: false
line-length: disable
empty-values:
forbid-in-block-mappings: true
trailing-spaces: disable

0 comments on commit fc2e5d6

Please sign in to comment.