Commit 4c8378cf authored by Evan Read's avatar Evan Read
Browse files

chore: update linting tools and linting container image for docs

parent b5a268f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -69,14 +69,14 @@ package-lock-integrity:
check-docs-markdown:
  stage: test
  needs: []
  image: registry.gitlab.com/gitlab-org/technical-writing/docs-gitlab-com/lint-markdown:alpine-3.22-vale-3.13.0-markdownlint2-0.19.0-lychee-0.21.0
  image: registry.gitlab.com/gitlab-org/technical-writing/docs-gitlab-com/lint-markdown:alpine-3.23-vale-3.14.1-markdownlint2-0.22.1-lychee-0.24.2
  script:
    # Lint prose
    - vale --minAlertLevel error docs README.md
    # Lint Markdown
    - markdownlint-cli2 'docs/**/*.md' README.md CONTRIBUTING.md
    # Check links
    - lychee --offline --include-fragments docs/**/*.md walkthroughs/**/*.md *.md
    - lychee --offline --include-fragments --root-dir . docs/**/*.md walkthroughs/**/*.md *.md
  except:
    - schedules

+3 −3
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@ nodejs 22.14.0
python 3.10.2

# For linting documentation
markdownlint-cli2 0.19.0
lychee 0.21.0
vale 3.13.0
markdownlint-cli2 0.22.1
lychee 0.24.2
vale 3.14.1
+3 −3
Original line number Diff line number Diff line
@@ -4,9 +4,9 @@ node = "22.14.0"
python = "3.10.2"

# For linting documentation
markdownlint-cli2 = "0.19.0"
lychee = "0.21.0"
vale = "3.13.0"
markdownlint-cli2 = "0.22.1"
lychee = "0.24.2"
vale = "3.14.1"

[env]
'_'.path = ["{{config_root}}/node_modules/.bin"]