Skip to content

Where lint sits in the pipeline

Lint runs on save, on commit, on pull request and in CI; the earlier the layer, the cheaper the fix.

graph LR
  A[Save in editor] -->|linter on save| B[Finding shown inline]
  B --> C[Commit]
  C -->|pre-commit hook| D[Linter runs]
  D --> E[Pull request]
  E -->|CI lint stage| F[Linter runs again]
  F --> G[Merge]
  style A fill:#E8F5E9
  style G fill:#E8F5E9