From 38278c3f41e3417c2418b99cbe9c1b910b180428 Mon Sep 17 00:00:00 2001 From: Naoki Oketani Date: Mon, 5 May 2025 11:15:04 +0000 Subject: [PATCH] chore(lint): add markdown and yaml linter configurations --- .markdown-lint.yml | 24 ++++++++++++++++++++++++ .yaml-lint.yml | 14 ++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .markdown-lint.yml create mode 100644 .yaml-lint.yml diff --git a/.markdown-lint.yml b/.markdown-lint.yml new file mode 100644 index 0000000..0f9e8be --- /dev/null +++ b/.markdown-lint.yml @@ -0,0 +1,24 @@ +# See: https://github.com/DavidAnson/markdownlint + +# Unordered list style +MD004: + style: dash + +# Disable line length for tables +MD013: + tables: false + +# Ordered list item prefix +MD029: + style: one + +# Spaces after list markers +MD030: + ul_single: 1 + ol_single: 1 + ul_multi: 1 + ol_multi: 1 + +# Code block style +MD046: + style: fenced diff --git a/.yaml-lint.yml b/.yaml-lint.yml new file mode 100644 index 0000000..f382152 --- /dev/null +++ b/.yaml-lint.yml @@ -0,0 +1,14 @@ +# See: https://yamllint.readthedocs.io/en/stable/ + +rules: + document-end: disable + document-start: + level: warning + present: false + line-length: + level: warning + max: 80 + allow-non-breakable-words: true + allow-non-breakable-inline-mappings: true +ignore: + - .licenses/