add linting CI
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2021-04-21 10:18:37 +02:00
parent a4dfc27bd5
commit 3b580d7a5b
3 changed files with 32 additions and 0 deletions

14
.drone.yml Normal file
View File

@ -0,0 +1,14 @@
---
kind: pipeline
type: docker
name: lint
steps:
- name: yaml linting
image: pipelinecomponents/yamllint
commands:
- yamllint .
- name: markdown linting
image: 06kellyjac/markdownlint-cli
commands:
- markdownlint . -i themes

9
.markdownlint.yaml Normal file
View File

@ -0,0 +1,9 @@
---
# Default state for all rules
default: true
MD009:
strict: false
MD013: false
MD033: false
MD024: false

9
.yamllint Normal file
View File

@ -0,0 +1,9 @@
extends: default
ignore: themes/
rules:
# 80 chars should be enough, but don't fail if a line is longer
line-length:
max: 80
level: warning