diff --git a/scaffold/gitignore/common.gitignore b/scaffold/gitignore/common.gitignore index 0a90f4c6..5a8b4d18 100644 --- a/scaffold/gitignore/common.gitignore +++ b/scaffold/gitignore/common.gitignore @@ -54,3 +54,4 @@ node_modules # Tests # ######### test_result +.prettiercache diff --git a/tasks/test.yml b/tasks/test.yml index 75a15b98..97f10aba 100644 --- a/tasks/test.yml +++ b/tasks/test.yml @@ -61,7 +61,7 @@ tasks: done - | if [ -f ".prettierrc.json" ] && [ -f "yarn.lock" ]; then - yarn prettier --check . + yarn prettier --check --cache-location=.prettiercache . elif [ -f ".prettierrc.json" ] && [ -f "package-lock.json" ]; then npm run prettier --check . fi