Merge pull request #356 from toastts/@toastts/prettier-config

added simple prettier defaults
This commit is contained in:
CAKE 2020-10-05 12:45:05 -07:00 committed by GitHub
commit 124ba6f4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

4
.prettierignore Normal file
View File

@ -0,0 +1,4 @@
out/
dist/
test-fixtures/
node_modules/

23
.prettierrc Normal file
View File

@ -0,0 +1,23 @@
{
"printWidth":100,
"tabWidth":2,
"useTabs":false,
"semi":false,
"singleQuote":false,
"trailingComma":"es5",
"bracketSpacing":false,
"jsxBracketSameLine":false,
"arrowParens":"always",
"requirePragma":false,
"insertPragma":false,
"proseWrap":"preserve",
"parser":"babel"
"overrides": [
{
"files": "*.js",
"options": {
"parser": "babel"
}
}
]
}