|
49 | 49 | "build:yao-pkg:node": "node scripts/build-yao-pkg-node.mjs", |
50 | 50 | "build:yao-pkg:check-deps": "node scripts/check-build-deps.mjs", |
51 | 51 | "check": "node scripts/check.mjs", |
52 | | - "check:lint": "eslint --config .config/eslint.config.mjs --report-unused-disable-directives .", |
| 52 | + "check:lint": "node scripts/lint-affected.mjs --all", |
53 | 53 | "check:tsc": "tsgo --noEmit", |
54 | 54 | "check-ci": "pnpm run check:lint", |
| 55 | + "lint": "node scripts/lint-affected.mjs", |
55 | 56 | "lint-ci": "pnpm run check:lint", |
56 | 57 | "type-ci": "pnpm run check:tsc", |
57 | 58 | "coverage": "node scripts/coverage.mjs", |
|
64 | 65 | "clean:dist": "node scripts/clean.mjs --dist", |
65 | 66 | "clean:dist:types": "node scripts/clean.mjs --dist-types", |
66 | 67 | "clean:node_modules": "node scripts/clean.mjs --node-modules", |
67 | | - "fix": "node scripts/lint-fix.mjs", |
| 68 | + "fix": "node scripts/lint-affected.mjs --fix", |
68 | 69 | "knip:dependencies": "knip --config .config/knip.json --dependencies", |
69 | 70 | "knip:exports": "knip --config .config/knip.json --include exports,duplicates", |
70 | | - "lint": "oxlint -c=.config/oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .", |
71 | | - "lint:dist:fix": "node scripts/lint-fix.mjs --dist", |
72 | | - "lint:external:fix": "node scripts/lint-fix.mjs --external", |
73 | | - "lint:fix": "node scripts/lint-fix.mjs", |
74 | 71 | "lint-staged": "lint-staged", |
75 | 72 | "precommit": "lint-staged", |
76 | 73 | "prepare": "husky", |
|
0 commit comments