Skip to main content

Linting Setup Rollout Progress

Temporary Document

This document tracks the rollout of the new linting setup. It will be deleted once all MRs are merged and the team is up to speed.

Track status for repos with branch new-pla-linting-and-formatting-setup.

Workflow Per Repo

  1. Claim row - add your name or "in progress"
  2. git checkout new-pla-linting-and-formatting-setup
  3. Rebase first (surface conflicts early):
    git fetch
    git rebase origin/<work branch>
  4. Update Lefthook install:
    • Remove lefthook from package.json devDependencies
    • Remove postinstall hook that runs lefthook install
    • Update lockfile (npm/yarn/pnpm) to drop Lefthook
    • Replace npx lefthook install in docs with:
      • brew install lefthook
      • lefthook install
  5. Cosmetic-only check:
    • Review commits for format-only diffs
    • Drop or edit those commits (interactive rebase)
  6. Install hooks on host:
    brew install lefthook  # if needed
    lefthook install
  7. CI: If missing, add lint/analyze jobs to .gitlab-ci.yml
  8. Update table checkboxes
  9. Push: git push --force-with-lease

Status

RepoWork BranchPkg MgrMRStatusHooksCosmeticRebasePushedInstalled
castoromasteryarn!43mergedxxxxx
conigliodevyarn (no package.json)!236mergedxxxxx
cricetomainnpm!147open
delfino---pending
docsmainyarn (packageManager)!350mergedxxxxx
farfalladevyarn!12631mergedxxxxx
farfalla-https-guardmasternone!26mergedxxxxx
farfalla-integrationsmasteryarn!74reviewxxxxx
fenicedevyarn (packageManager)!70review
formicamainnpm-pending
medusadevyarn!572reviewxxxxx
miceliomainyarn!37mergedxxxxx
vitomainnpm!6mergedxxxxx
volpedevyarn!382reviewxxxxx
zoomainyarn!22mergedxxxxx

Notes

  • docs: removed package-lock.json (was duplicate; uses yarn via packageManager)
  • coniglio: has yarn.lock but no package.json
  • farfalla-integrations: removed .styleci.yml
  • No local tests needed; CI covers it

For config examples, see Linting References.

X

Graph View