mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 21:53:28 +08:00
The post-edit-format hook runs Prettier on JS/TS files after edits, but without a project-level config it applied default settings (double quotes, etc.) that conflicted with the existing code style. Adding .prettierrc ensures the hook respects the project conventions. Settings derived from existing codebase analysis: - singleQuote: true - trailingComma: none - arrowParens: avoid - printWidth: 200
9 lines
133 B
Plaintext
9 lines
133 B
Plaintext
{
|
|
"singleQuote": true,
|
|
"trailingComma": "none",
|
|
"semi": true,
|
|
"tabWidth": 2,
|
|
"printWidth": 200,
|
|
"arrowParens": "avoid"
|
|
}
|