Use Node.js 24 or later, npm, and Docker for the shared linter. The maintained
dependency versions live in package.json and package-lock.json.
Open the repository in Visual Studio Code and select Dev Containers: Reopen in Container.
The configuration follows Hoverkraft's
Debian, Zsh, Node.js, Docker-in-Docker and GitHub CLI setup. Node.js is fixed to major
version 24, and make setup installs the locked project dependencies with lifecycle
scripts disabled when the container is created. The editor runs as vscode.
Docker-in-Docker supports make lint and make lint-fix inside the container.
GitHub CLI includes gh act for local workflow execution. Feature versions and
integrity hashes are recorded in devcontainer-lock.json and maintained by
Dependabot. After changing features, regenerate the lockfile with the Dev Container
CLI:
devcontainer upgrade --workspace-folder .make setup
make test
make lintRun make help to list targets and make lint-fix to apply supported fixes.
Both lint targets use the pinned Hoverkraft Super-Linter image from Dockerfile,
with the host user and group IDs. Pass a path filter to check selected files:
make lint 'docs/'
make lint-fix 'README.md'Separate main-ci.yml and pull-request-ci.yml entrypoints call __shared-ci.yml.
Only their repeated wiring is excluded from duplication detection; workflow
syntax, security and pinning checks still apply to both files.
Edit index.json to change the policy. .commitlintrc.json and the policy tests
load that source. Keep tests focused on accepted messages, blocking errors, style
warnings and repository overrides. npm run test:ci also writes a JUnit report
to junit.xml. The configuration is data, so it has no build or executable
source coverage target.
The shared CI workflow validates the source and the npm package separately. It
packs only the public configuration, manifest, readme and license, installs the
tarball in test/consumer, and runs commitlint through the exported package name.
This checks distribution and dependency resolution without repeating the policy
test matrix. The consumer fixture is private and is not published.
Update dependencies and the lockfile together. Dependabot tracks both the package and the consumer fixture, using explicit conventional message prefixes. The release workflow prepares versions and the release lockfile; contributors do not need to bump versions in feature pull requests.