Files
Roman Donchenko 92d376e600 Upgrade remark to the latest version (#9394)
The new version seems to be better at parsing Markdown and emits more
useful warnings (which I fixed). The new warnings are mostly of the
following categories:

1. Inconsistent table formatting.
2. Inconsistent list numbering.
3. Overlong lines.
4. Missing quote markers.

WRT tables, I converted a few of them to the compact style, because I
can't be bothered to align rows that are >100 characters long, and I
don't think anyone else should have to.
2025-05-06 11:51:34 +03:00

19 lines
729 B
JavaScript

exports.settings = { bullet: '*', paddedTable: false };
exports.plugins = [
'remark-frontmatter',
'remark-gfm',
'remark-preset-lint-recommended',
'remark-preset-lint-consistent',
['remark-lint-list-item-indent', 'one'],
['remark-lint-no-dead-urls', false], // Does not work because of github protection system
['remark-lint-maximum-line-length', 120],
['remark-lint-maximum-heading-length', 120],
['remark-lint-strong-marker', '*'],
['remark-lint-emphasis-marker', '_'],
['remark-lint-unordered-list-marker-style', '-'],
['remark-lint-ordered-list-marker-style', '.'],
['remark-lint-no-file-name-irregular-characters', false],
['remark-lint-list-item-spacing', false],
];