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).
30 lines
505 B
YAML
30 lines
505 B
YAML
---
|
|
|
|
extends: default
|
|
|
|
rules:
|
|
braces:
|
|
level: warning
|
|
max-spaces-inside: 1
|
|
brackets:
|
|
level: warning
|
|
max-spaces-inside: 1
|
|
colons:
|
|
level: warning
|
|
commas:
|
|
level: warning
|
|
comments: disable
|
|
comments-indentation: disable
|
|
document-start: disable
|
|
empty-lines:
|
|
level: warning
|
|
hyphens:
|
|
level: warning
|
|
indentation:
|
|
level: warning
|
|
indent-sequences: consistent
|
|
line-length:
|
|
level: warning
|
|
allow-non-breakable-inline-mappings: true
|
|
truthy: disable
|