Add .prettierrc.json to configure Prettier, reformat code

This commit is contained in:
IvanZosimov
2022-12-19 17:09:22 +01:00
parent d42abd99fe
commit 0cad484cd0
6 changed files with 106 additions and 94 deletions

12
.prettierrc.json Normal file
View File

@@ -0,0 +1,12 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": false,
"arrowParens": "avoid",
"parser": "typescript",
"endOfLine": "auto"
}