add prettier

This commit is contained in:
kandrusyak
2022-12-01 13:50:14 +03:00
parent 8e4b6c832e
commit a8bb75b2f5
55 changed files with 2687 additions and 1666 deletions

18
.prettierrc Normal file
View File

@@ -0,0 +1,18 @@
{
"arrowParens": "always",
"useTabs": false,
"tabWidth": 2,
"singleQuote": true,
"endOfLine": "lf",
"jsxBracketSameLine": false,
"trailingComma": "es5",
"overrides": [
{
"files": "*.json",
"options": {
"singleQuote": false,
"parser": "json"
}
}
]
}