EditorConfig Checker is a Go-based command-line utility designed to validate file formatting against established EditorConfig rules. It provides language-independent formatting checks across software repositories without requiring separate configurations for individual file types. Supported validation includes indentation styles, indentation sizes, line endings, trailing whitespace, final newlines, maximum line lengths, and character encoding. Developers can exclude individual lines, code blocks, or file paths from validation. Configurable settings allow specific checks to be disabled according to project requirements. The utility integrates with continuous integration pipelines to enforce consistent formatting across development teams. EditorConfig Checker is available as a standalone executable and through multiple package managers.
Features
- Language-independent file formatting validation based on existing EditorConfig configuration rules
- Automatic detection of inconsistent indentation styles, indentation sizes, and line ending formats
- Comprehensive whitespace validation covering trailing spaces, final newlines, and maximum line lengths
- Character encoding verification against supported EditorConfig charset configuration properties
- Flexible validation exclusions for individual lines, code blocks, file paths, and specific formatting rules
- Continuous integration compatibility with cross-platform binaries and multiple package manager installation options