Merge pull request #15349 from strapi/enhancement/lint-staged-cache

This commit is contained in:
Ben Irvin 2023-01-05 10:19:52 +01:00 committed by GitHub
commit a76b557047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,10 +57,10 @@
}, },
"lint-staged": { "lint-staged": {
"*.{js,md,css,scss,yaml,yml}": [ "*.{js,md,css,scss,yaml,yml}": [
"prettier --write" "prettier --cache --cache-strategy content --write"
], ],
"*.js": [ "*.js": [
"eslint --fix" "eslint --cache --cache-strategy content --cache-location ./node_modules/.cache/eslint --fix"
] ]
}, },
"devDependencies": { "devDependencies": {