mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-05-22 09:55:55 +00:00
Add yamllint, fix most yaml errors
This commit is contained in:
parent
d292784f8f
commit
5ca5a12b99
4 changed files with 48 additions and 22 deletions
|
|
@ -1,12 +1,23 @@
|
|||
- repo: local
|
||||
hooks:
|
||||
- id: lint-dockerfile
|
||||
name: Lint Dockerfile
|
||||
entry: make lint-dockerfile
|
||||
language: system
|
||||
files: \.yml$
|
||||
- id: lint-yaml
|
||||
name: Lint YAML
|
||||
entry: make lint-yaml
|
||||
language: system
|
||||
files: \.yml$
|
||||
---
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: lint-dockerfile
|
||||
name: Lint Dockerfile
|
||||
entry: make lint-dockerfile
|
||||
language: system
|
||||
files: \.yml$
|
||||
|
||||
- id: lint-yaml
|
||||
name: Lint YAML
|
||||
entry: make lint-yaml
|
||||
language: system
|
||||
files: \.yml$
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: v1.33.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
- repo: https://github.com/koalaman/shellcheck-precommit
|
||||
rev: v0.9.0
|
||||
hooks:
|
||||
- id: shellcheck
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue