diff --git a/.gitignore b/.gitignore index f781462455..ea39538b0b 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ public_html/ flow-coverage coverage .eslintcache +.prettiercache webpack.local-config.js *.orig *.rej diff --git a/package.json b/package.json index 0a338c151e..e6cb1b3a88 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "lint-fix-js": "yarn lint-js --fix", "lint-css": "stylelint \"src/**/*.css\" \"res/**/*.css\"", "lint-fix-css": "yarn lint-css --fix", - "prettier-run": "prettier --check .", - "prettier-fix": "prettier --write .", + "prettier-run": "prettier --check . --cache --cache-strategy content --cache-location .prettiercache", + "prettier-fix": "prettier --write . --cache --cache-strategy content --cache-location .prettiercache", "flow": "flow --max-warnings 0", "flow:ci": "flow check --max-warnings 0", "flow-stop": "flow stop",