Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Add markdownlint configuration
Add configuration files for markdownlint [1] and the related markdownlint-cli2 [2]. Note that while the markdownlint-cli2 configuration file could include the configuration for markdownlint, it is kept in a separate file, because for .markdownlint.yaml there is a schema file which enables autocompletion in the IDE. Prefer [1] over [3] which provides a comparable rules set, because the former can easily be run locally with `npx markdownlint-cli2` which is similar to `commitlint`, while the latter requires a working Ruby installation. Also, chose `markdownlint-cli2` over `markdownlint-cli` [4] for the reasons explained by the author in [5]. [1]: https://github.com/DavidAnson/markdownlint [2]: https://github.com/DavidAnson/markdownlint-cli2 [3]: https://github.com/markdownlint/markdownlint [4]: https://github.com/igorshubovych/markdownlint-cli [5]: https://dlaa.me/blog/post/markdownlintcli2 Signed-off-by: Martin Nonnenmacher <[email protected]>
- Loading branch information