Repository navigation
Conversation
|
|
||
| function slugifyHeading(rawHeading) { | ||
| const hasLeadingHtml = /^</.test(rawHeading.trim()) | ||
| const text = rawHeading.replace(/<[^>]+>/g, '').trim() |
| const match = lines[i].match(/^(#{2,3})\s+(.+)$/) | ||
| if (!match) continue | ||
| const raw = match[2].trim() | ||
| const label = raw.replace(/<[^>]+>/g, '').trim() |
| for (let i = scriptsStart + 1; i < scriptsEnd; i++) { | ||
| const line = lines[i] | ||
| if (line.startsWith('### ')) { | ||
| const name = line.slice(4).replace(/<[^>]+>/g, '').trim() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cleans up default-branch CI failures, resolves moderate npm audit findings in the ESLint toolchain, adds automated structural validation for the README catalogue, and fixes stale links, ordering, and markup inconsistencies in the list.
Changes
mastersince September 2026 (superseding Delete old GL workflow #168).masterpushes and pull requests to avoid duplicate runs on same-repo PR branches, adds job concurrency and timeout bounds, disables persisted checkout credentials, and runs ESLint without a stale cache alongside the new README validator.eslint,@stylistic/eslint-plugin, andeslint-plugin-import-x(all releases older than the seven-day cooldown) to clear theminimatchGHSA-g3hv-75wg-m249audit advisories (superseding Bump the dev-dependencies group across 1 directory with 2 updates #180), and migrates deprecated core ESLint formatting rules to@stylistic/eslint-plugin.check:readmevalidator wired into CI, the pre-commit hook, and contribution docs to enforce balanced HTML tags, TOC alignment, alphabetical sorting, cross-listed entry parity, valid URL encoding, and screenshot widths.KudoAI/*GitHub links (AmazonGPT,BraveGPT,DuckDuckGPT,GoogleGPT) to their active Codeberg repositories, fixes TOC ordering and alphabetical sorting inDisplay, aligns drifted cross-listed entries (ChatGPT Widescreen,GoogleGPT,Simple Sponsor Skipper), replaces literal Markdown backticks in HTML<summary>with<code>, fixes theYouTube A/B Looprepo slug and URL spaces, and normalizes missing screenshot widths and indentation.Downsides
@stylistic/eslint-pluginto v6 raises the minimum Node.js requirement to>=20.19.0(CI already runs on Node 24).Testing
npm ci --ignore-scriptsandnpm auditagainst the updated lockfile withmin-release-age=7, confirming zero remaining advisories.npm run lint:allcovering JavaScript and Markdown rules across the repository, including the new validator script.npm run check:readmeto verify HTML tag balance, TOC matching, alphabetical ordering, cross-listed parity, and entry markup across the catalogue..lychee.tomland HTTP 200 responses on the updated Codeberg, ScriptCat, jsDelivr, and raw GitHub URLs. Full Lychee 0.24.2 anchor-only link validation was not run locally because the local binary is 0.23.0; PR CI covers the full scan.