Commit Graph

4 Commits

Author SHA1 Message Date
Javi Martín
819485eb80 Re-add and apply MDL rule MD040
We were following it about half of the time and we even added it to our
former `.mdlrc` file. However, for some reason, MDL doesn't detect this
rule when specified in the `.mdlrc` file, so we didn't notice we weren't
following it in many cases.

Now that we're using a style file to configure MDL, we can enable this
rule again and apply it, since now MDL correctly includes it in its
report.
2024-06-21 15:57:52 +02:00
Javi Martín
cf23de2f8b Allow headings ending in question marks in markdown
Not sure whether it's a good idea to end a heading with a question mark.
When in doubt, we usually keep the code as it is now, so that's what
we're doing.
2024-06-21 15:57:52 +02:00
Javi Martín
3a173fdb0b Use two spaces to indent lists in markdown
We were already doing it in the `docs/` folder, and this is consistent
with the indentations we use in prettly much every programming language.
2024-06-21 15:57:52 +02:00
Javi Martín
da1bac3638 Add a Markdownlint style file
This way we'll be able to customize some of the rules, which doesn't
seem to be possible when using the `.mdlrc` file.

For simplification purposes, instead of including all rules one by one,
we're excluding the few rules we don't use.
2024-06-21 15:57:52 +02:00