You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: add lint-staged with pre-commit hooks for src/ directory (#38)
* 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.
* fix: update package-lock.json for husky 9.1.7 and lint-staged 16.2.3
Update package-lock.json to match the package.json changes made in the previous commit.
This resolves the npm ci failures in CI where the lock file was out of sync with package.json.
All verification steps passed locally:
- npm run lint ✓
- npm run format ✓
- npm run typecheck ✓
- npm run compile ✓
- npm test ✓ (1329 passing)
* Update .husky/post-checkout
Co-authored-by: Christoffer Artmann <Artgaard@gmail.com>
* fix: package-lock.json
* remove .eslintcache
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Lukas Šaltėnas <lukas.saltenas@gmail.com>
Co-authored-by: Christoffer Artmann <Artgaard@gmail.com>
0 commit comments