Skip to content

Home

What is Stylebook?


  • Library extension
    A set of additional rules for static code analysis tools

  • Simplified CLI
    One command to lint multiple file types

How does it work?

flowchart LR
  subgraph "Project"
    src(Source code)
    config1[Optional config files]
  end
  subgraph "Static analysis"
    linters[Linter libraries]
    extensions[Rule extensions]
    config2[Default config files]
  end
  subgraph "Report"
    cli[Build failure<br>on lint errors]
  end
  subgraph "Refactor"
    manual(Manual edits<br>using suggestions)
  end

  src -- run --> linters
  extensions -- CLI --> cli
  cli -- fix --> manual

Download

Get the artifacts from official package managers.

Download the library

PyPINPM