Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
- uses: actions/checkout@v4
- name: Lint markdown
run: |
for f in $(find . -name "*.md"); do
echo "Checking $f..."
test -s "$f" || echo " WARNING: empty file"
done
pip install markdownlint-cli2
markdownlint-cli2 '**/*.md' --config .markdownlint.yaml || true
- name: Lint YAML
run: |
pip install yamllint
yamllint -c .yamllint.yaml . || true
16 changes: 16 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# YAML linting configuration for CognitiveOS SDLC
extends: default
rules:
line-length:
max: 120
level: warning
trailing-spaces: warning
indentation:
spaces: 2
level: warning
document-start: warning
quotes:
avoid: warning
brackets:
max-spaces-inside: 1
level: warning
Loading