Skip to content

Commit

Permalink
Use a cache for prettier (PR #4731)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienw authored Sep 1, 2023
1 parent 3358fd5 commit 3fd8dfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public_html/
flow-coverage
coverage
.eslintcache
.prettiercache
webpack.local-config.js
*.orig
*.rej
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3fd8dfd

Please sign in to comment.