style: add print width to prettier config + apply project-wide

This commit is contained in:
Mateusz 2025-08-10 09:44:29 +02:00
parent 1a5db08e9f
commit 5b79b9dcbe
2 changed files with 12 additions and 7 deletions

View File

@ -1,7 +1,8 @@
{ {
useTabs: true, "useTabs": true,
tabWidth: 4, "tabWidth": 4,
trailingComma: "es5", "trailingComma": "es5",
"printWidth": 100,
"overrides": [ "overrides": [
{ {
"files": "*.yml", "files": "*.yml",
@ -9,6 +10,13 @@
"tabWidth": 2, "tabWidth": 2,
"useTabs": false "useTabs": false
} }
},
{
"files": "*.html",
"options": {
"printWidth": 120,
"htmlWhitespaceSensitivity": "ignore"
}
} }
] ]
} }

View File

@ -107,10 +107,7 @@ ${this.formatPerson()}
} }
class Range { class Range {
constructor( constructor(public date_start: Date, public date_end: Date) {}
public date_start: Date,
public date_end: Date
) {}
} }
abstract class CSVParser { abstract class CSVParser {