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
Add ESLint rules for type safety and fix violations
- Add @typescript-eslint/no-floating-promises: error
- Add @typescript-eslint/no-non-null-assertion: error
- Add @typescript-eslint/prefer-nullish-coalescing: error
- Change @typescript-eslint/no-explicit-any from off to error
Fixes:
- Fix floating promise in NotebookPicker constructor by adding .catch()
- Fix non-null assertion in NotebookPicker.onAfterAttach with null check
- Fix prefer-nullish-coalescing in handler.ts by using ?? instead of ||
- Add inline eslint-disable comments for legitimate any usage in handler.ts
0 commit comments