Use yaml lists:
```yaml
ignore:
- generated
- "*.template.yaml"
```
instead of multiline strings:
```yaml
ignore: |
generated
*.template.yaml
```
This also fixes the wrong error messages when using the new config
format with ymallit v1.8.0/v1.8.1.
The only problem I see is that this will break config files with the
latter ignore pattern format.
Example of configuration to use this feature:
# For all rules
ignore: |
*.dont-lint-me.yaml
/bin/
!/bin/*.lint-me-anyway.yaml
rules:
key-duplicates:
ignore: |
generated
*.template.yaml
trailing-spaces:
ignore: |
*.ignore-trailing-spaces.yaml
/ascii-art/*
Closes#43.
Although `yes` and `no` are recognized as booleans by the pyyaml parser,
the correct keywords are `true` and `false` (as highlighted by the newly
added `truthy` rule).
This commit replaces the use of `yes`/`no` by `true`/`false` and
advertise it in the docs, but also makes sure this change is
backward-compatible (so that `yes` and `no` still work).