Skip to content

Set a zero‑warnings bar across six languages

Set a zero‑warnings quality bar across six languages — Go, TypeScript, SQL, Python, Shell and Markdown — enforced by pre‑commit hooks.

six languages held to a zero‑warnings bar

Situation. Warnings that pile up are quietly corrosive. Every diagnostic you ignore lowers the bar a little, and once the build spits out forty of them nobody reads any of them, and a real problem sits in that list in plain sight because “warnings” have become background noise. In a polyglot codebase there are that many more sources of noise to let it happen.

Task. The repo needed one uncompromising quality bar across every language, so things got fixed instead of accumulating.

Action. A zero‑warnings policy went in, with the tooling as the thing that enforces it, because a policy that relies on everyone’s vigilance loses to the first busy week. Every linter diagnostic is an error — there’s no “warn” tier to hide in — and it’s the same across the whole stack: Go with golangci‑lint, TypeScript with ESLint, SQL with SQLFluff, Python with Ruff, shell with ShellCheck, Markdown with markdownlint. Inline suppressions are banned, so you can’t paper over a diagnostic; you have to actually fix the thing. Pre‑commit and pre‑push hooks run the linters and the tests; failures in the covered rule and test set block the corresponding commit or push. There are even function- and file‑length limits, to keep modules from sprawling past the point of being readable.

Result. Problems get fixed at the source instead of deferred into a backlog nobody clears, and the codebase stays clean by default rather than by periodic heroics. The standard is identical whatever language you’re in, and it’s the tooling holding it — not anyone’s willpower — which is why it actually holds.

  • Silhouettes, nature, person
    Photo: Simedblack / Pixabay
  • White toy bear among gold-coloured coins
    Photo: MiGallery23 / Pixabay

Bring this experience to your project

Use “Set a zero‑warnings bar across six languages” as a starting point for a similar challenge in your organisation. The services behind this work are available for your project. Tested, released and reversible, so changes reach customers on a Tuesday afternoon rather than late on a Friday night.

Explore our services Get in touch

Look behind the result

Read the situation, decisions and result in this example. We can discuss which parts transfer to your constraints and which need another approach. Set a zero‑warnings bar across six languages — six languages held to a zero‑warnings bar

Explore our services Get in touch

One piece of a longer record — and it is all on this site.

Every entry is written the same way: the situation, the task, what we did and what changed.

See the whole record

Define the improvement you need

Bring the deployment path, the operational risks and the people on call. We can scope a change with checks, a recovery route and clear ownership.

See what it costs Get in touch

Want a codebase that stays clean?

Ask about the decisions behind “Set a zero‑warnings bar across six languages”. You will speak with the people who can explain the work and assess your own project.

Explore our services
welcome@engineer.company +45 50 10 61 84 Copenhagen, Denmark
QR code for Set a zero‑warnings quality bar across six languages — Go, TypeScript, SQL, Python, Shell and Markdown — enforced by pre‑commit hooks.
Take this page with youhttps://engineer.company/portfolio/set-a-zero-warnings-bar-across-six-languages/