From c68d1343a8892951133d1127d594a5fc3e6e025e Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Wed, 13 Sep 2023 17:05:09 +0200 Subject: [PATCH 1/2] feat: Added editorconfig-checker to pre-commit --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9caad62..43702bd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 ... -- 2.45.2 From ecbd9b9b7c246d61e87786ac36375d9fa2d6626e Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Wed, 13 Sep 2023 17:10:11 +0200 Subject: [PATCH 2/2] fix: added editorconfig sections to README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4f90f8f..1169494 100644 --- a/README.md +++ b/README.md @@ -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`. + + ```yaml --- repos: @@ -32,6 +34,7 @@ repos: - id: woodpecker-lint ... ``` + ## Alternative Repos -- 2.45.2