check / check (push) Canceled after 0s
Follows sneak's ruling at #146 (comment). Runtimes and the installer tools bundled with python come from the distribution, with no version and no hash. Third-party packages stay pinned by hash. script/bootstrap drops nvm and corepack. It installs node, yarn and the node packages only when yarn.lock is in the tree, and stops there when yarn's major version is not 1. This repository's Dockerfile starts from Alpine 3.24. The Python example starts from debian:trixie-slim, keeps pipenv at $HOME/.pipenv on a host and in an image, and sets PIP_ONLY_BINARY=:all:, so pip downloads no build tools without a hash check. Model: opus-5-5
934 B
934 B
title, last_modified
| title | last_modified |
|---|---|
| Code Styleguide — JavaScript | 2026-11-04 |
-
Use
constfor everything. If you need to reassign, uselet. Never usevar. -
Use yarn for package management, avoid using npm.
-
Install node from the distribution. If its version is too old, use a newer distribution.
-
Use
prettierfor code formatting, with four spaces for indentation. -
At a minimum, both
yarn run test/yarn run buildandnpm run test/npm run buildshould work (complete the appropriate scripts inpackage.json). However, prefermake testandmake buildinstead — the Makefile is authoritative on how to interact with the repo. See Repository Policies for details.
Author
License
MIT. See LICENSE.