Skip to content

Commit

Permalink
add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dlo committed Aug 19, 2020
1 parent 79cc38d commit e9836cc
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"bracketSpacing": true,
"jsxSingleQuote": true,
"printWidth": 100,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"overrides": [
{
"files": "tracker/web/**/*.js",
"options": {
"trailingComma": "none"
}
}
]
}
12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
},
"devDependencies": {
"@types/node": "10.17.24",
"@types/prettier": "2.0.2",
"@types/winston": "2.2.0",
"@types/yargs": "15.0.5",
"prettier": "2.0.5",
"winston": "2.2.0"
}
}

0 comments on commit e9836cc

Please sign in to comment.