|
31 | 31 | "scripts": { |
32 | 32 | "check": "node scripts/check.mjs", |
33 | 33 | "lint-ci": "pnpm run check:lint", |
34 | | - "check:lint": "eslint --config .config/eslint.config.mjs --report-unused-disable-directives .", |
35 | | - "check:lint:fix": "pnpm run check:lint --fix", |
| 34 | + "check:lint": "node scripts/lint-affected.mjs --all", |
| 35 | + "lint": "node scripts/lint-affected.mjs", |
36 | 36 | "build": "node scripts/build.mjs", |
37 | 37 | "build:dist": "node scripts/build.mjs", |
38 | 38 | "build:dist:src": "node scripts/build.mjs --src-only", |
|
49 | 49 | "coverage:percent": "node scripts/get-coverage-percentage.mjs", |
50 | 50 | "coverage:type": "type-coverage", |
51 | 51 | "coverage:type:verbose": "type-coverage --detail", |
52 | | - "fix": "node scripts/lint-fix.mjs", |
| 52 | + "fix": "node scripts/lint-affected.mjs --fix", |
53 | 53 | "knip:dependencies": "knip --dependencies", |
54 | 54 | "knip:exports": "knip --include exports,duplicates", |
55 | | - "lint": "oxlint -c=.config/.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json .", |
56 | | - "lint:fix": "node scripts/lint-fix.mjs", |
57 | | - "lint:fix:oxlint": "oxlint -c=.config/.oxlintrc.json --ignore-path=.oxlintignore --tsconfig=tsconfig.json --quiet --fix . | dev-null", |
58 | | - "lint:fix:biome": "biome format --log-level=none --fix . | dev-null", |
59 | | - "lint:fix:eslint": "eslint --config .config/eslint.config.mjs --report-unused-disable-directives --fix . | dev-null", |
60 | 55 | "lint-staged": "lint-staged", |
61 | 56 | "precommit": "lint-staged", |
62 | 57 | "prepare": "husky", |
|
0 commit comments