Axon Shaft docs
Checklist catalog

Unused code

New exports nothing imports, new files nothing reaches and commented-out code.

  • Check run: Axon Shaft / unused-code
  • How it checks: A script built into the action gathers facts, and the model judges them.
  • Suits: Any project
  • In templates: Strict review, Simplicity review

What it looks for

  • New exports nothing imports
  • New files nothing reaches
  • Commented-out code

A finding might read: parseLegacyDate is exported but never imported

Files it runs on

It runs only when a changed file matches one of these, and is skipped otherwise.

  • **/*.{ts,tsx,mts,cts,js,jsx,mjs,cjs,vue,svelte,astro,py,go,rs,java,kt,kts,swift,m,mm,c,h,cc,cpp,hpp,cs,rb,php,dart,scala,ex,exs,sh}

Last updated on