Skip to content

Update project tests for Yarn version 4

Evan Read requested to merge eread/update-project-tests-for-yarn-version-4 into main

What does this MR do and why?

Partly for #1761 (closed), but also because of the move to Yarn v4, we can no longer:

  • Use markdownlint-cli2-config. It was removed and replaced with markdownlint-cli2 --config.
  • Globally-install dependencies. We need to use yarn dlx now.

This MR makes those changes, and moves to the newer markdownlint-cli2 format for configuration.

How to set up and validate locally

  1. Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/setup.md.
  2. Check out branch.
  3. Run make markdownlint-whitespace-tests. Results only for whitespace at EOL should be returned.

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports