All checks were successful
check / check (push) Successful in 9s
- Move title and last_modified to YAML front matter (all policy docs) - Make all document sections H1, subsections H2 - Update version rule to reference front matter format - Fix "our" → "your" typo in Go styleguide - Fix Python styleguide numbering (2. → 1.) - Fix README: "flat collection" → accurate description, remove stale TODO - Remove Makefile items from code styleguides (repo stuff, not code), add note linking to Repository Policies - Change zerolog → slog in Go styleguide - Fix JS styleguide npm reference: both work, but use make targets - Drop .json from healthcheck path, add JSON content-type requirement - Add Author/License to Go HTTP Server Conventions - Convert hyperlinks to backtick URLs in checklists for consistency - Add version/front matter to both checklists
865 B
865 B
| title | last_modified |
|---|---|
| Code Styleguide — JavaScript | 2026-02-22 |
-
Use
constfor everything. If you need to reassign, uselet. Never usevar. -
Use yarn for package management, avoid using npm.
-
Use LTS node versions.
-
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.