From 7fb4e09e6f97fdf3519ee19567de80d7e8e54723 Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Tue, 13 Apr 2021 10:40:19 -0700 Subject: [PATCH] Quote globs in prettier scripts (#10867) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9e863d111..1d8380b0a 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,8 @@ "test:coverage:path": "nyc --check-coverage yarn test:unit:path", "ganache:start": "./development/run-ganache.sh", "sentry:publish": "node ./development/sentry-publish.js", - "lint": "prettier --check ./**/*.json && eslint . --ext js --cache && yarn lint:styles", - "lint:fix": "prettier --write ./**/*.json && eslint . --ext js --cache --fix", + "lint": "prettier --check '**/*.json' && eslint . --ext js --cache && yarn lint:styles", + "lint:fix": "prettier --write '**/*.json' && eslint . --ext js --cache --fix", "lint:changed": "{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' | tr '\\n' '\\0' | xargs -0 eslint", "lint:changed:fix": "{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' | tr '\\n' '\\0' | xargs -0 eslint --fix", "lint:shellcheck": "./development/shellcheck.sh",