format/configured/node
A formatter is configured
Implements format/configured for node.
| Severity | warning |
| Tiers | 1, 2 |
| Stacks | node |
| Scope | each |
| Kind | outcome |
| Source | library v0.2.0 |
| Selected by | fleetlint-recommended@v0.2.0 |
Requirement
A formatter is configured in the package or a parent directory: Prettier (.prettierrc*, prettier.config.* or a prettier key in package.json), Biome with its formatter enabled, or dprint; or one of them runs in a hook, the task runner or CI. Another formatter is added with accept:.
Why
Without one formatter every editor reformats differently and diffs fill with whitespace churn that hides the real change.
Fix
Add a Prettier configuration (.prettierrc.json) and the prettier hook, or use Biome.
Agent instruction: Add .prettierrc.json and prettier to devDependencies, run it from the fmt target and a hook; reformat in a separate commit.
See: https://fleetlint.org/baseline/#static-analysis, https://fleetlint.org/stacks/#nodejs--typescript
Generated by fleetlint docs from catalog v0.2.0.