chore(frontend): add Prettier configuration

- Configure printWidth: 100, singleQuote: true, trailingComma: es5
- Add Angular template parser override
- Ignore dist, node_modules, .angular, coverage
- Ignore generated GraphQL types
This commit is contained in:
Andrés Eduardo García Márquez 2026-01-08 00:30:51 -05:00
parent dfb1341b2c
commit 41994ef8c5
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,8 @@
dist/
node_modules/
.angular/
coverage/
*.min.js
*.min.css
package-lock.json
src/app/core/graphql/generated/

20
src/frontend/.prettierrc Normal file
View File

@ -0,0 +1,20 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "avoid",
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
}