woodpecker-lint/README.md

35 lines
744 B
Markdown
Raw Normal View History

2023-09-08 07:20:21 +02:00
<!--
SPDX-FileCopyrightText: 2023 Tobias Schmidl
SPDX-License-Identifier: AGPL-3.0-or-later
-->
# woodpecker-lint
This repository is intended to be used as a [pre-commit hook](https://pre-commit.com/#install).
2023-09-08 07:32:30 +02:00
## Versioning
This repository adheres to [SemVer](https://semver.org/lang/de/) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## Usage
Simple, add the second option to your `.pre-commit-config.yaml`.
```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
...
```