diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..154ee8f --- /dev/null +++ b/.drone.yml @@ -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 diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000..a085265 --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,9 @@ +--- +# Default state for all rules +default: true +MD009: + strict: false + +MD013: false +MD033: false +MD024: false diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..69eeed3 --- /dev/null +++ b/.yamllint @@ -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