Commit 4e61e0b
committed
ci: Improved the issue of delayed pre-commit lint error detection, resulting in rework.
Lack of code quality verification during the commit phase necessitates rework when lint errors are discovered in CI.
Added Husky and lint-staged to automatically run lint only on targets that have changed during commit.
- Automatically fixable errors are fixed and committed, while unfixable errors are blocked.
- Added root-level dependency installation to just deps.1 parent 4aa815b commit 4e61e0b
4 files changed
+255
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
275 | 277 | | |
276 | 278 | | |
0 commit comments