Skip to content

Commit cb6e686

Browse files
Add config to ignore some rules
1 parent bb7b9dc commit cb6e686

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/lint-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
3+
extends: default
4+
5+
6+
rules:
7+
line-length: disable
8+
trailing-spaces: disable
9+
document-start: disable
10+

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
with:
1818
yamllint_file_or_dir: _data/collection-index.yml
1919
yamllint_strict: true
20+
yamllint_config_filepath: .github/lint-config.yaml
2021
yamllint_comment: true
2122
env:
2223
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)