config + whitespace: add .prettierrc; apply consistent indentation (space@2ea)

This commit is contained in:
David Lee 2023-07-23 07:48:30 +10:00
parent 8a7645d190
commit 7bcf775944
3 changed files with 674 additions and 500 deletions

View file

@ -5,6 +5,5 @@ root = true
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = tab
indent_size = 4
tab_width = 4
indent_style = space
indent_size = 2

10
.prettierrc Normal file
View file

@ -0,0 +1,10 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "always"
}

1159
main.ts

File diff suppressed because it is too large Load diff