From 35d833c0551d1914486befa28179829a04e22d08 Mon Sep 17 00:00:00 2001
From: OCram85 <marco.blessing@googlemail.com>
Date: Thu, 16 May 2024 11:24:50 +0200
Subject: [PATCH] add linters

---
 .woodpecker/ci.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml
index 332df7a..51711f4 100644
--- a/.woodpecker/ci.yml
+++ b/.woodpecker/ci.yml
@@ -26,6 +26,26 @@ variables:
         from_secret: gitea_passwd
 
 steps:
+  lint-dockerfile:
+    image: hadolint/hadolint:v2.12.1-beta-alpine
+    commands:
+      - hadolint --ignore DL3003 --ignore DL3018 Dockerfile
+    when:
+      path: "Dockerfile"
+
+  lint-markdown:
+    image: davidanson/markdownlint-cli2:v0.13.0
+    commands:
+      - "markdownlint-cli2 *.{md,markdown}"
+    when:
+      path: "*.{md,markdown}"
+
+  lint-editorconfig:
+    depends_on: []
+    image: docker.io/mstruebing/editorconfig-checker:v3.0.1
+    when:
+      event: pull_request
+
   test:
     image: *build_plugin
     settings: