generated from the-liberated-edge/wikijs
i-3 Introduce a new task to automate linting from command line #14
@ -170,7 +170,7 @@ cd test_linux_containers
|
||||
Lint all YAML documents.
|
||||
|
||||
```
|
||||
yamllint .
|
||||
task lint-yml
|
||||
```
|
||||
|
||||
Use `ansible-lint` to verify good practices relevant to Ansible.
|
||||
|
||||
@ -3,3 +3,5 @@ version: '3'
|
||||
tasks:
|
||||
format-yml:
|
||||
cmds: [yamlfix .]
|
||||
lint-yml:
|
||||
cmds: [yamllint .]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user