add linter + renovate (#6)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/test-image Pipeline was successful

### 📖 Summary

- add renovate json
- add linters:
  - Dockerfile
  - markdown
  - editorconfig

### 📑 Test Plan

 CI pipeline tests (Default)

### 💬 Details

_No response_

### 📚 Additional Notes

_No response_

Reviewed-on: #6
This commit is contained in:
2024-05-16 12:12:31 +02:00
parent 099ed06d66
commit b699580cc7
11 changed files with 75 additions and 33 deletions

View File

@ -26,6 +26,28 @@ variables:
from_secret: gitea_passwd
steps:
lint-dockerfile:
image: hadolint/hadolint:v2.12.1-beta-alpine
commands:
#- cat Dockerfile
#- hadolint --verbose --ignore DL3003 --ignore DL3018 Dockerfile
- 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: