From 968b618482d4fea56830a81857c813b4770dd1c3 Mon Sep 17 00:00:00 2001 From: Chris Arnesen Date: Tue, 25 Sep 2018 09:52:40 -0500 Subject: [PATCH] fix: Remove "prettier" from "npm run fix" (#116) 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. --- packages/google-cloud-dns/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/google-cloud-dns/package.json b/packages/google-cloud-dns/package.json index d59824d7389..ab34719e5b0 100644 --- a/packages/google-cloud-dns/package.json +++ b/packages/google-cloud-dns/package.json @@ -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" },