init: correct .eslintrc and add .prettierrc

This commit is contained in:
2023-06-02 21:26:49 +01:00
parent 3a760d2646
commit aa697cb677
2 changed files with 27 additions and 4 deletions

15
.prettierrc Normal file
View File

@@ -0,0 +1,15 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 100,
"proseWrap": "always",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"endOfLine": "auto"
}