formatter-config
formatting written against a convention the project's own formatter config does not use
Agent checkadvisory by defaultbasecode
The argument
The language is TypeScript. Follow the project's formatter and linter configuration when present (biome.json, .prettierrc, eslint.config.*); with none configured, keep formatting consistent throughout.
The proof
failsrc/billing/getChargeLabel.ts
// Two-space indent and double quotes in a repo whose formatter config says otherwise.
export const getChargeLabel = ({ amount }: { amount: number }): string => {
return "" + amount;
};
passsrc/billing/getChargeLabel.ts
// Tabs and single quotes, as the repo's own formatter config asks for.
export const getChargeLabel = ({ amount }: { amount: number }): string => `${amount}`;
Turn it down
Both lines go in your lightsout.config.json.
"standards-checks": { "formatter-config": "advisory" }"standards-checks": { "formatter-config": "off" }