Lint and type checks

A step of the Open source library tree on Gradus, in the Quality bar area: Tests, CI, lint, coverage.

Enforce a formatter, a linter and type checks in CI so style and type errors never reach review.

Usually comes after: CI across versions.

Prompt for your AI assistant

Add a formatter, a linter and a type checker with the configuration this ecosystem expects, a `lint` script that runs them all and a CI step that fails on any finding. Format the existing code once in a separate commit.

This is https://gradus.kazet.blog/tree/open-source-library/step/lint-and-types as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.