# `editorconfig-checker` | | | | -------- | ----------------------------------------------------------------------------------------------------------------------------- | | Project | [editorconfig-checker](https://github.com/editorconfig-checker/editorconfig-checker) | | Fix | yes | | Binary | `editorconfig-checker` | | Scope | [files](../linters.md#scope-files) | | Patterns | `*` | | Config | [`.editorconfig-checker.json`](https://github.com/editorconfig-checker/editorconfig-checker?tab=readme-ov-file#configuration) | `editorconfig-checker` checks that files comply with the repository's EditorConfig settings. It defers to formatters: it runs on all files but automatically skips file types owned by an active formatter. If none of those formatters are installed, `editorconfig-checker` checks those files itself. Flint also supports the legacy `ec` binary name used before editorconfig-checker 4. That binary remains check-only; autofix requires editorconfig-checker 4 or later. Use `flint run --fix editorconfig-checker` to apply the safe fixes exposed by editorconfig-checker 4: trailing whitespace, supported line endings, and final newlines. Indentation, maximum line length, and character encoding remain review-only. Flint writes shared `.editorconfig` carve-outs for known formatter-owned line length: today that means `rumdl` for `*.md`, `rustfmt` for `*.rs`, and `google-java-format` for `*.java`. Those sections use `max_line_length = off` so editors and `editorconfig-checker` share the same intent instead of relying on checker-specific JSON excludes. If a matching section already exists, `flint init` rewrites its `max_line_length` to `off` instead of leaving a formatter-conflicting numeric value in place.