Kind: leaf
Effort: S · Risk: low
Source: webpro/dotfiles (run 2026-08-22)
Decision: adopt
Problem
Every editor and agent guesses this repo's indentation, and they guess differently.
Current state (this repo)
No .editorconfig. deploy.sh is 4-space, the Makefile is tabs, JSON and YAML are 2-space, and shell rc files are mixed. Nothing declares any of it.
Their approach
Root .editorconfig with root = true: utf-8, lf endings, final newline, trimmed trailing whitespace, 2-space indent.
Difference that matters
Cheapest possible way to stop whitespace-only diffs, and it is machine-readable by the agent harnesses this repo exists to configure.
Translation into this repo
Copy the shape but not the values: a blanket indent_size = 2 would fight deploy.sh's 4-space bodies and break the Makefile. Scope per glob — [*] for charset/eol/final-newline/trailing-whitespace only, [*.{json,yml,yaml,md}] 2-space, [*.sh] 4-space, [Makefile] tabs.
Kind: leaf
Effort: S · Risk: low
Source: webpro/dotfiles (run 2026-08-22)
Decision: adopt
Problem
Every editor and agent guesses this repo's indentation, and they guess differently.
Current state (this repo)
No
.editorconfig.deploy.shis 4-space, theMakefileis tabs, JSON and YAML are 2-space, and shell rc files are mixed. Nothing declares any of it.Their approach
Root
.editorconfigwithroot = true: utf-8, lf endings, final newline, trimmed trailing whitespace, 2-space indent.Difference that matters
Cheapest possible way to stop whitespace-only diffs, and it is machine-readable by the agent harnesses this repo exists to configure.
Translation into this repo
Copy the shape but not the values: a blanket
indent_size = 2would fightdeploy.sh's 4-space bodies and break theMakefile. Scope per glob —[*]for charset/eol/final-newline/trailing-whitespace only,[*.{json,yml,yaml,md}]2-space,[*.sh]4-space,[Makefile]tabs.