Add prettier & eslint

This commit is contained in:
Çetin
2024-12-30 17:41:32 +03:00
parent 319b269726
commit f760886f54
6 changed files with 2196 additions and 2 deletions

29
.prettierrc.json Normal file
View File

@@ -0,0 +1,29 @@
{
"useTabs": false,
"tabWidth": 4,
"trailingComma": "none",
"semi": true,
"singleQuote": true,
"printWidth": 250,
"bracketSameLine": false,
"overrides": [
{
"files": ["*.ts", "*.mts", "*.d.ts"],
"options": {
"parser": "typescript"
}
},
{
"files": ["*.html"],
"options": {
"parser": "html"
}
},
{
"files": ["*.component.html"],
"options": {
"parser": "angular"
}
}
]
}