Skip to content

Commit

Permalink
fix: Remove "prettier" from "npm run fix" (#116)
Browse files Browse the repository at this point in the history
Our eslint configuration already reports `prettier` diffs as errors via eslint-plugin-prettier. These diffs are all auto-fixable by eslint. Therefore there's no need to call the `prettier` CLI command.
  • Loading branch information
carnesen authored and JustinBeckwith committed Sep 25, 2018
1 parent 1ed8647 commit 968b618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/google-cloud-dns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"system-test": "mocha build/system-test --timeout 600000",
"clean": "gts clean",
"compile": "tsc -p .",
"fix": "eslint --fix 'samples/**/*.js' && prettier --write samples/*.js samples/*/*.js && gts fix",
"fix": "eslint --fix 'samples/**/*.js' && gts fix",
"prepare": "npm run compile",
"pretest": "npm run compile"
},
Expand Down

0 comments on commit 968b618

Please sign in to comment.