Answer prose round 2: 0 🔴, 2 🟡 (0 misread); say what the tabs rule leaves out, and when chunk-preflight reports
CI / tests (pull_request) Has been cancelled
CI / tests (pull_request) Has been cancelled
This commit is contained in:
@@ -119,5 +119,5 @@
|
||||
- Read config (credentials, hosts, paths) from CLI params or env vars, never hardcoded.
|
||||
* Indent with hard tabs by default.
|
||||
- Overriding it takes two things: a setting a tool reads (`.editorconfig` or a formatter's config, such as Prettier, `rustfmt.toml` or Biome) and a decision in the decision log that names the reason. A prose rule in `AGENTS.md`, or the existing files' habit, doesn't override it.
|
||||
- Files whose format fixes their indentation, such as YAML (no tabs) or a spelling's JSON, are outside the rule.
|
||||
- A file already indented with spaces keeps them until the project converts it or records the override, so no file mixes the two. `chunk-preflight` reports a project in that state where `.editorconfig`, `rustfmt.toml`, Prettier and Biome set nothing about it.
|
||||
- A format that forbids tabs, such as YAML, and output a spec fixes, such as a JSON example it prints, are outside the rule.
|
||||
- A file already indented with spaces keeps them until the project converts it or records the override, so no file mixes the two. `chunk-preflight` reports a project whose code is mostly indented with spaces where `.editorconfig`, `rustfmt.toml`, Prettier and Biome set nothing about it.
|
||||
|
||||
Reference in New Issue
Block a user