feat: Added editorconfig-checker to pre-commit

Reviewed-on: #3
Co-authored-by: Tobias Schmidl <tobias@schmidl.dev>
Co-committed-by: Tobias Schmidl <tobias@schmidl.dev>
This commit is contained in:
Tobias Schmidl 2023-09-13 17:14:55 +02:00 committed by Tobias Schmidl
parent c7889d72a0
commit 6ae7e0c219
2 changed files with 8 additions and 0 deletions

View file

@ -15,4 +15,9 @@ repos:
rev: v2.1.0
hooks:
- id: reuse
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: '2.7.2'
hooks:
- id: editorconfig-checker
alias: ec
...

View file

@ -16,6 +16,8 @@ This repository adheres to [SemVer](https://semver.org/lang/de/) and [Keep a Cha
Simple, add the second option to your `.pre-commit-config.yaml`.
<!-- editorconfig-checker-disable -->
```yaml
---
repos:
@ -32,6 +34,7 @@ repos:
- id: woodpecker-lint
...
```
<!--// editorconfig-checker-enable -->
## Alternative Repos