Add linting for drone files

This commit is contained in:
Peter Stuifzand 2019-03-16 20:30:14 +01:00
parent 2742b1428f
commit 10d4274c2a

View File

@ -1,10 +1,17 @@
# See https://pre-commit.com for more information # See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks # See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0 rev: v2.0.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
- id: check-yaml - id: check-yaml
- id: check-added-large-files - id: check-added-large-files
- repo: local
hooks:
- id: drone-lint
name: Drone linting
language: system
entry: drone lint
files: .drone.yml