A repository for linting a woodpecker config file via pre-commit hook
Find a file
2023-09-08 08:09:59 +02:00
LICENSES added initial 2023-09-08 07:20:21 +02:00
.gitignore added initial 2023-09-08 07:20:21 +02:00
.pre-commit-config.yaml added initial 2023-09-08 07:20:21 +02:00
.pre-commit-hooks.yaml added first draft 2023-09-08 08:09:59 +02:00
CHANGELOG.md added first draft 2023-09-08 08:09:59 +02:00
README.md added first draft 2023-09-08 08:09:59 +02:00

woodpecker-lint

This repository is intended to be used as a pre-commit hook.

Versioning

This repository adheres to SemVer and Keep a Changelog.

Usage

Simple, add the second option to your .pre-commit-config.yaml.

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.4.0
  hooks:
  - id: check-yaml
  - id: end-of-file-fixer
  - id: trailing-whitespace
  - id: check-merge-conflict
- repo: https://git.schmidl.dev/schtobia/woodpecker-lint
  rev: v1.0.0
  hooks:
  - id: woodpecker-lint
...