diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-05-27 21:22:00 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-05 17:41:24 +0200 |
commit | 393c06f537f01bbd35f08beb12ea802c63d8a559 (patch) | |
tree | 032d77bbbbab03c7abd5f71f33bcc487e24faaa8 /.yamllint.yml | |
parent | fb6dd416e5d3609037d04e58d34fc375c450c4d5 (diff) | |
download | searxng-393c06f537f01bbd35f08beb12ea802c63d8a559.tar.gz searxng-393c06f537f01bbd35f08beb12ea802c63d8a559.zip |
[enh] add test.yamllint - lint yaml files
Usage::
make test.yamllint
./manage test.yamllint
test.yamllint is also added to the `test` makefile target.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to '.yamllint.yml')
-rw-r--r-- | .yamllint.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 000000000..065665612 --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,16 @@ +extends: default + +rules: + + indentation: + spaces: 2 + + # 120 chars should be enough, but don't fail if a line is longer + line-length: + max: 120 + level: warning + allow-non-breakable-words: true + + # we don't have multiple document per file + document-start: disable + document-end: disable |