Commit d52ab41
committed
Unify scripts with flag-based configuration
- Create unified lint.mjs script with flags (--fix, --all, --affected, --staged, --pre-commit)
- Update test.mjs and test-affected.mjs with consistent flags
- Remove special case for package.json in affected-test-mapper
- Simplify package.json scripts to use unified scripts
- Update .husky/pre-commit to use new flag-based commands
- Add --help flag support to all scripts1 parent 2513592 commit d52ab41
File tree
6 files changed
+486
-25
lines changed- .husky
- scripts
- utils
6 files changed
+486
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 59 | | |
66 | 60 | | |
67 | | - | |
68 | 61 | | |
69 | 62 | | |
70 | 63 | | |
| |||
0 commit comments