|
25 | 25 | "start": "./src-tauri/target/release/clamav-desktop",
|
26 | 26 | "test": "yarn test:lint && yarn test:type && yarn test:unit:core && test:unit:webview",
|
27 | 27 | "test:e2e": "xvfb-run wdio run ./configs/wdio.config.ts",
|
28 |
| - "test:lint": "eslint --ext cjs,cts,js,json,jsonc,mjs,mts,ts,tson,tsx .", |
| 28 | + "test:lint": "eslint --cache --ext cjs,cts,js,jsx,mjs,mts,ts,tsx .", |
29 | 29 | "test:sec": "ggshield iac scan all",
|
30 | 30 | "test:type": "tsc --noEmit -p ./tsconfig.ci.json",
|
31 | 31 | "test:unit:core": "make test",
|
|
112 | 112 | "which": "4.0.0"
|
113 | 113 | },
|
114 | 114 | "lint-staged": {
|
115 |
| - "*.{md,yaml,yml}": "prettier --write", |
| 115 | + "*.{json,md,yaml,yml}": "prettier --write", |
116 | 116 | "*.{ts,tsx}": [
|
117 |
| - "yarn eslint --ext cjs,cts,js,json,jsonc,mjs,mts,ts,tson,tsx", |
| 117 | + "yarn eslint --ext cjs,cts,js,jsx,mjs,mts,ts,tsx", |
118 | 118 | "bash -c 'npm run test:type'"
|
119 | 119 | ]
|
120 | 120 | },
|
|
0 commit comments