|
18 | 18 | "scripts": { |
19 | 19 | "build": "rslib", |
20 | 20 | "dev": "rslib -w", |
21 | | - "lint": "biome check .", |
22 | | - "lint:write": "biome check . --write", |
| 21 | + "lint": "rslint && prettier -c .", |
| 22 | + "lint:write": "rslint --fix && prettier -w .", |
23 | 23 | "prepare": "simple-git-hooks && npm run build", |
24 | 24 | "test": "rstest", |
25 | 25 | "release": "node ./scripts/release.js", |
26 | 26 | "bump": "npx bumpp --no-push --no-tag --no-commit" |
27 | 27 | }, |
28 | | - "files": ["client", "dist"], |
| 28 | + "files": [ |
| 29 | + "client", |
| 30 | + "dist" |
| 31 | + ], |
29 | 32 | "simple-git-hooks": { |
30 | | - "pre-commit": "npx nano-staged" |
31 | | - }, |
32 | | - "nano-staged": { |
33 | | - "*.{js,jsx,ts,tsx,mjs,cjs}": [ |
34 | | - "biome check --write --no-errors-on-unmatched" |
35 | | - ] |
| 33 | + "pre-commit": "pnpm run lint:write" |
36 | 34 | }, |
37 | 35 | "devDependencies": { |
38 | | - "@biomejs/biome": "^1.9.4", |
39 | 36 | "@rslib/core": "^0.20.3", |
| 37 | + "@rslint/core": "^0.3.4", |
40 | 38 | "@rspack/core": "2.0.0-rc.0", |
41 | 39 | "@rstest/core": "^0.9.6", |
42 | 40 | "@types/node": "^24.12.2", |
|
45 | 43 | "cross-env": "^10.1.0", |
46 | 44 | "execa": "9.6.1", |
47 | 45 | "fs-extra": "11.3.4", |
48 | | - "nano-staged": "^0.9.0", |
| 46 | + "prettier": "^3.8.1", |
49 | 47 | "react-refresh": "^0.18.0", |
50 | 48 | "semver": "7.7.4", |
51 | 49 | "simple-git-hooks": "^2.13.1", |
|
0 commit comments