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:
parent
c7889d72a0
commit
6ae7e0c219
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
...
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue