mirror of
https://github.com/strapi/strapi.git
synced 2025-09-20 14:00:48 +00:00
Merge pull request #15349 from strapi/enhancement/lint-staged-cache
This commit is contained in:
commit
a76b557047
@ -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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user