style: add print width to prettier config + apply project-wide
This commit is contained in:
parent
1a5db08e9f
commit
5b79b9dcbe
14
.prettierrc
14
.prettierrc
@ -1,7 +1,8 @@
|
||||
{
|
||||
useTabs: true,
|
||||
tabWidth: 4,
|
||||
trailingComma: "es5",
|
||||
"useTabs": true,
|
||||
"tabWidth": 4,
|
||||
"trailingComma": "es5",
|
||||
"printWidth": 100,
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.yml",
|
||||
@ -9,6 +10,13 @@
|
||||
"tabWidth": 2,
|
||||
"useTabs": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": "*.html",
|
||||
"options": {
|
||||
"printWidth": 120,
|
||||
"htmlWhitespaceSensitivity": "ignore"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -107,10 +107,7 @@ ${this.formatPerson()}
|
||||
}
|
||||
|
||||
class Range {
|
||||
constructor(
|
||||
public date_start: Date,
|
||||
public date_end: Date
|
||||
) {}
|
||||
constructor(public date_start: Date, public date_end: Date) {}
|
||||
}
|
||||
|
||||
abstract class CSVParser {
|
||||
|
Loading…
x
Reference in New Issue
Block a user