⚙️ Add Prettier and ESLint config with pre-commit (#640)

This commit is contained in:
Alejandra
2024-03-08 00:08:07 +01:00
committed by GitHub
parent 6c41e30263
commit 1b8b42cee5
8 changed files with 3572 additions and 221 deletions

10
new-frontend/.prettierrc Normal file
View File

@@ -0,0 +1,10 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2,
"importOrder": ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
}