From 0086e1e7e3336580a3f1acc18547720e828164d6 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Tue, 1 Mar 2022 23:49:46 +0000 Subject: [PATCH] Activate default markdownlint rules Also sort the rules by their number, to make it easier to locate them. --- .markdownlint.yml | 13 ++++++++----- CHANGELOG.md | 2 ++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.markdownlint.yml b/.markdownlint.yml index 77046fd..71fb1ef 100644 --- a/.markdownlint.yml +++ b/.markdownlint.yml @@ -1,3 +1,11 @@ +# Default state for all rules +default: true + +# MD004/ul-style +MD004: + # Use dashes for lists, leaving asterisks for emphasis + style: "dash" + # MD010/no-hard-tabs MD010: # Exclude code blocks @@ -19,8 +27,3 @@ MD024: MD026: # Trailing punctuation characters not allowed in headings punctuation: ",;:!" - -# MD004/ul-style -MD004: - # Use dashes for lists, leaving asterisks for emphasis - style: "dash" diff --git a/CHANGELOG.md b/CHANGELOG.md index adcfdef..d7e9c9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and [Keep a Changelog](http://keepachangelog.com/). - Resolved static analysis warnings reported by [PHPStan](https://phpstan.org/) & [PHPMD](https://phpmd.org/) ([#143]) - Clarified error response for edits denied by a CAPTCHA ([#145]) +- Activated default markdownlint rules ([#146]) ## Version 1.0.0 - 2021-09-05 @@ -228,3 +229,4 @@ and may require changes in applications that invoke these methods:_ [#142]: https://github.com/hamstar/Wikimate/pull/142 [#143]: https://github.com/hamstar/Wikimate/pull/143 [#145]: https://github.com/hamstar/Wikimate/pull/145 +[#146]: https://github.com/hamstar/Wikimate/pull/146