Commit b54bd1c
committed
chore: add lint-staged with pre-commit hooks for src/ directory
- Upgrade husky from 8.0.3 to 9.1.7
- Add lint-staged 16.2.3 for automated code quality checks
- Configure lint-staged to run eslint and prettier on src/**/*.{ts,tsx}
- Update pre-commit hook to use lint-staged
- Add post-checkout hook for automatic dependency installation
- Add pre-push hook to prevent direct pushes to main branch
This matches the setup in jupyterlab-deepnote for consistency.1 parent f59e68f commit b54bd1c
4 files changed
+16
-18
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 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2075 | 2075 | | |
2076 | 2076 | | |
2077 | 2077 | | |
| 2078 | + | |
2078 | 2079 | | |
2079 | 2080 | | |
2080 | 2081 | | |
| |||
2258 | 2259 | | |
2259 | 2260 | | |
2260 | 2261 | | |
2261 | | - | |
| 2262 | + | |
2262 | 2263 | | |
2263 | 2264 | | |
2264 | 2265 | | |
2265 | 2266 | | |
2266 | 2267 | | |
| 2268 | + | |
2267 | 2269 | | |
2268 | 2270 | | |
2269 | 2271 | | |
| |||
2290 | 2292 | | |
2291 | 2293 | | |
2292 | 2294 | | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
2293 | 2301 | | |
2294 | 2302 | | |
2295 | 2303 | | |
| |||
0 commit comments