[ESLint] Enable caching (#661)

This commit is contained in:
schroda
2024-03-19 22:46:39 +01:00
committed by GitHub
parent 0c1abebaf4
commit bee4d4aab8

View File

@@ -9,7 +9,7 @@
"test": "node -e \"console.log('imagine')\"",
"build-md5": "find build -type f | sort | xargs md5sum | awk '{ print $1 }' | tr -d '\n' | md5sum| awk '{ print $1 }' > buildZip/md5sum ",
"build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo r$rev > revision && zip -9 -r ../buildZip/Suwayomi-WebUI-r$rev *",
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --max-warnings=0",
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --max-warnings=0 --cache",
"createChangelog": "ts-node tools/scripts/createReleaseChangelog.ts",
"updateDeps": "yarn upgrade && yarn syncyarnlock -s -k && yarn && git add package.json yarn.lock && git commit -m \"Update dependencies\" && echo Updated non breaking dependencies. Check potential breaking changes below... && yarn outdated",
"gql:codegen-base": "graphql-codegen --config gql_codegen.ts",
@@ -33,7 +33,7 @@
]
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "eslint --fix"
"*.{ts,tsx,js,jsx}": "eslint --fix --cache"
},
"dependencies": {
"@apollo/client": "^3.9.6",