From a27587fd925b2aa22f1c6a21e33b1cfb6332789a Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Thu, 24 Sep 2026 10:53:16 -0400 Subject: [PATCH] ci: run Trunk linters on Node 24 Bump the Trunk node runtime from 18.20.5 to 24.21.0. markdownlint-cli 0.44.0 reads fs.R_OK, which Node 24 deprecates. The warning lands in the JSON output and Trunk fails to parse it, so bump markdownlint to 0.45.0. That release adds MD059 (descriptive link text), so reword the two "[here]" links in the contributing guides. Co-Authored-By: Claude Opus 5.5 (1M context) --- .trunk/trunk.yaml | 4 ++-- CONTRIBUTING.md | 2 +- docs/developers/contributing.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 6b048475..7e78448f 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -12,7 +12,7 @@ plugins: # Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) runtimes: enabled: - - node@18.20.5 + - node@24.21.0 - python@3.10.8 # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: @@ -20,7 +20,7 @@ lint: - actionlint@1.7.7 - checkov@3.2.374 - git-diff-check - - markdownlint@0.44.0 + - markdownlint@0.45.0 - oxipng@9.1.4 - prettier@3.5.2 - svgo@3.3.2 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index decc5173..49ea5feb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,7 +18,7 @@ We use [Trunk](https://trunk.io) for linting, which combines multiple linters wi curl https://get.trunk.io -fsSL | bash ``` -Alternative installation methods can be found [here](https://docs.trunk.io/check/usage#install-the-cli). On commit, the linter will run automatically. To run it manually, use the following commands: +For alternative installation methods, see the [Trunk CLI install guide](https://docs.trunk.io/check/usage#install-the-cli). On commit, the linter will run automatically. To run it manually, use the following commands: ```sh trunk fmt diff --git a/docs/developers/contributing.md b/docs/developers/contributing.md index 5896bcfc..07427814 100644 --- a/docs/developers/contributing.md +++ b/docs/developers/contributing.md @@ -23,7 +23,7 @@ We use [Trunk](https://trunk.io) for linting, which combines multiple linters wi curl https://get.trunk.io -fsSL | bash ``` -Alternative installation methods can be found [here](https://docs.trunk.io/check/usage#install-the-cli). On commit, the linter will run automatically. To run it manually, use the following commands: +For alternative installation methods, see the [Trunk CLI install guide](https://docs.trunk.io/check/usage#install-the-cli). On commit, the linter will run automatically. To run it manually, use the following commands: ```sh trunk fmt