Add prettier config

This commit is contained in:
Peter Evans
2020-05-04 18:01:52 +09:00
parent 5065953cb1
commit e5b7800e31
2 changed files with 14 additions and 0 deletions

3
.prettierignore Normal file
View File

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

11
.prettierrc.json Normal file
View File

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