From bec7c9ea7fe1d188d68623098f09e71e0fc21737 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Mon, 4 Sep 2023 12:55:49 -0500 Subject: [PATCH] Improvements to YAML lint configuration - Explicitly allow unbreakable words and mappings - Extend the default configuration - Ignore the `.github` dir (primarily useful for running locally) - Explicitly disable new-lines (let git manage EOL) --- .yamllint | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.yamllint b/.yamllint index a6c43d9..1249d36 100644 --- a/.yamllint +++ b/.yamllint @@ -1,6 +1,17 @@ # Default configuration values: https://yamllint.readthedocs.io/en/stable/configuration.html # Rules reference: https://yamllint.readthedocs.io/en/stable/rules.html +extends: default + +ignore: + - .github + rules: - line-length: {max: 100, allow-non-breakable-words: true} + line-length: + max: 100 + allow-non-breakable-words: true + allow-non-breakable-inline-mappings: true document-start: disable comments-indentation: disable + + # Let .gitattributes manage EOL + new-lines: disable