← Back to tools

detect-indent-cli

Detect the indentation style of code

Text Processing linuxmacoswindows JavaScript MIT

Description

detect-indent-cli detects the indentation of code, reporting whether it uses spaces or tabs and how many spaces per indent level.

AI Summary

A CLI tool that detects the indentation style (spaces vs tabs) in code.

Capabilities

  • + Detect spaces or tabs indentation
  • + Report indent size
  • + Process files or stdin

Use When

  • You need to determine a file's indentation style
  • You want to enforce consistent indentation

Avoid When

  • x You use an editor with built-in detection
  • x You have an editorconfig file
View AGENTS.md for detect-indent-cli