[dev] Enable linter cache (#6406)

This commit is contained in:
zubiden 2025-11-06 11:36:25 +01:00 committed by Alexander Zinchuk
parent 80ab048c29
commit 310eaf6812
3 changed files with 7 additions and 3 deletions

1
package-lock.json generated
View File

@ -7,6 +7,7 @@
"": {
"name": "telegram-t",
"version": "12.0.5",
"hasInstallScript": true,
"license": "GPL-3.0-or-later",
"dependencies": {
"@cryptography/aes": "^0.1.1",

View File

@ -18,8 +18,8 @@
"tauri:dev": "tauri dev",
"tauri:build": "tauri build",
"telegraph:update_changelog": "node ./dev/telegraphChangelog.js",
"check": "tsc && stylelint \"**/*.{css,scss}\" && eslint",
"check:fix": "stylelint \"**/*.{css,scss}\" --fix && eslint --fix",
"check": "tsc && stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache && eslint --cache --cache-location .cache/.eslintcache",
"check:fix": "stylelint \"**/*.{css,scss}\" --fix --cache --cache-location .cache/.stylelintcache && eslint --fix --cache --cache-location .cache/.eslintcache",
"tl:rehash": "node ./dev/tlHash.js",
"gramjs:tl": "tsx ./src/lib/gramjs/tl/generateModules.ts",
"lang:ts": "tsx ./dev/generateLangTypes.js",
@ -29,6 +29,7 @@
"test:playwright": "playwright test",
"test:record": "playwright codegen localhost:1235",
"statoscope:validate-diff": "statoscope validate --input input.json --reference reference.json",
"postinstall": "node -e \"require('fs').rmSync('.cache', { recursive: true, force: true })\"",
"postversion": "echo $(node -p \"require('./package.json').version\") > public/version.txt && git commit --amend --no-verify --no-edit public/version.txt"
},
"engines": {

View File

@ -26,7 +26,9 @@
"paths": {
"@teact": ["./src/lib/teact/teact.ts"],
"@teact/*": ["./src/lib/teact/*"]
}
},
"incremental": true,
"tsBuildInfoFile": ".cache/.tsconfig.tsbuildinfo"
},
"include": [
"src",