Update project tests for Yarn version 4
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 withmarkdownlint-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
-
Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/setup.md. -
Check out branch. -
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.
-
I have evaluated the MR acceptance checklist for this merge request.