Add prettier configuration

This commit is contained in:
Nick Alteen 2023-09-14 10:35:08 -04:00
parent 71f9b03865
commit 48fa9ea205
2 changed files with 19 additions and 0 deletions

3
.prettierignore Normal file
View File

@ -0,0 +1,3 @@
dist/
node_modules/
coverage/

16
.prettierrc.json Normal file
View File

@ -0,0 +1,16 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "none",
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "avoid",
"proseWrap": "always",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "lf"
}