fleetlint Policy for a fleet of repositories
v0.7
Getting started

repo/editorconfig

.editorconfig is present

Severitywarning
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.4.0
Selected byfleetlint-recommended@v0.4.0

Requirement

An .editorconfig declares charset, line endings, final newline and indentation.

Why

It stops formatting churn between editors before any formatter runs.

Check

file(".editorconfig")

Fix

Add .editorconfig with root = true; fleetlint fix --apply writes the template.

Agent instruction: Create .editorconfig: utf-8, lf, insert_final_newline, trim_trailing_whitespace, 2-space default, 4 spaces for Kotlin/Java/Python/Rust/Swift/C#/PHP, tabs for Go and Makefiles.

fleetlint fix can apply this rule’s fix automatically (1 action(s)).

Sources


Generated by fleetlint docs from catalog v0.4.0.