---
name: c9n-code-formatting
description: C9N's Prettier, EditorConfig, and lint-staged setup for
  consistent formatting. Use when bootstrapping a repo or fixing
  formatting drift.
---
# Prettier
semi false; singleQuote true; trailingComma none; printWidth 100;
tabWidth 2; useTabs false; bracketSpacing true; arrowParens always;
endOfLine lf.
# EditorConfig
UTF-8, 2-space indent, LF, trim trailing whitespace (except *.md), final
newline.
# lint-staged
*.{ts,tsx}: prettier --write, eslint --fix.
*.{json,md,yaml}: prettier --write.
Rule: ESLint never enforces formatting; Prettier owns formatting.
