Add .markdownlint-cli2.yaml for doc-locale

What does this MR do?

Adds a custom markdownlin-cli2.yaml configuration. This is required because the linting rules needed for translated content differs from English. Ensures consistent formatting across all translated files.

To test

  1. Pull branch down
  2. Make change to any file in /doc-locale/ that create broken markdown
  3. Run the linter - make lint-i18n-docs

We've decided to add this separately from pushing translations in this thread.

Why was this MR needed?

Translated content needs different linting rules than english content.

What's the best way to test this MR?

Run make lint-i18n-docs locally after braking markdown in /doc-locale

Related issues

  1. Context: !5684 (comment 2597265875)
  2. Related gitlab-com/localization/docs-site-localization#183 (closed)

Merge request reports

Loading