Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing .github/linters/.yamllint.yaml #25 #27

Merged
merged 3 commits into from
Oct 27, 2024
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
1 change: 1 addition & 0 deletions .github/linters/.markdown-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# https://github.com/DavidAnson/markdownlint#rules--aliases

# line-length - Line length
Expand Down
6 changes: 6 additions & 0 deletions .github/linters/.yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
rules:
line-length:
max: 120
document-start:
present: true
10 changes: 6 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks

repos:
- repo: https://github.com/igorshubovych/markdownlint-cli
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
hooks:
- id: markdownlint
- id: markdownlint
name: Markdownlint
description: Run markdownlint on your Markdown files
args: [--config=.github/linters/.markdown-lint.yaml]
files: \.(md|mdown|markdown)$

- repo: https://github.com/adrienverge/yamllint
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
- id: yamllint
name: run yamllint
description: Lint YAML files
args: ["-c", ".github/linters/.yamllint.yaml"]
Expand Down
Loading