Quote globs in prettier scripts (#10867)

feature/default_network_editable
Erik Marks 4 years ago committed by GitHub
parent 2f4e377cf5
commit 7fb4e09e6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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",

Loading…
Cancel
Save