Skip to content

Commit

Permalink
chore(build): update the prettier config (#476)
Browse files Browse the repository at this point in the history
chore(build): update the prettier config
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Dec 5, 2018
1 parent 555ddf0 commit 591f8df
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .kokoro/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ cd $(dirname $0)/..

npm install
npm test
./node_modules/nyc/bin/nyc.js report

bash $KOKORO_GFILE_DIR/codecov.sh
3 changes: 2 additions & 1 deletion .nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"exclude": [
"src/*{/*,/**/*}.js",
"src/*/v*/*.js",
"test/**/*.js"
"test/**/*.js",
"build/test"
],
"watermarks": {
"branches": [
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/*
samples/node_modules/*
src/**/doc/*
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
bracketSpacing: false
printWidth: 80
semi: true
singleQuote: true
tabWidth: 2
trailingComma: es5
useTabs: false
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"firestore"
],
"scripts": {
"codecov": "nyc report --reporter=json && codecov -f .coverage/*.json",
"predocs": "npm run compile",
"docs": "jsdoc -c .jsdoc.js",
"generate-scaffolding": "repo-tools generate all",
Expand Down

0 comments on commit 591f8df

Please sign in to comment.