mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
chore: add .prettierrc for consistent code formatting
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
This commit is contained in:
parent
ada4cd75a3
commit
66143eaf74
1 changed files with 8 additions and 0 deletions
8
.prettierrc
Normal file
8
.prettierrc
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"semi": true,
|
||||
"tabWidth": 2,
|
||||
"printWidth": 200,
|
||||
"arrowParens": "avoid"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue