Skip to content

Fix all ESLint warnings#114

Merged
jaymantri merged 2 commits intomainfrom
fix/lint-warnings
Feb 27, 2026
Merged

Fix all ESLint warnings#114
jaymantri merged 2 commits intomainfrom
fix/lint-warnings

Conversation

@jaymantri
Copy link
Contributor

Summary

  • Remove 2 unused eslint-disable directives in Chart (LineChart, LiveChart)
  • Add missing tick dependency to useEffect in LiveValue, reorder hooks to fix block-scoped reference
  • Add interpolatorsRef to useCallback deps in Chart hooks (refs are stable, no behavior change)
  • Remove unused CollectionProps interface from Autocomplete (dead code)
  • Suppress intentional any in Combobox ValueProps render prop with inline explanation

Resolves all 7 ESLint warnings from CI. Lint now reports 0 warnings, build passes clean.

Test plan

  • npm run lint — 0 errors, 0 warnings
  • npm run build — compiles and prerendered successfully

Made with Cursor

- Remove unused eslint-disable directives in LineChart and LiveChart
  (console.warn inside production guard doesn't trigger no-console)
- Add missing tick dep to useEffect in LiveValue and reorder hooks
  to avoid block-scoped variable reference before declaration
- Add interpolatorsRef to useCallback deps in Chart hooks (refs are
  stable, no behavior change)
- Remove unused CollectionProps interface from Autocomplete
- Suppress intentional any in Combobox ValueProps render prop with
  inline eslint-disable explaining the design constraint

Made-with: Cursor
@vercel
Copy link

vercel bot commented Feb 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
origin-storybook Ready Ready Preview, Comment Feb 27, 2026 5:23pm

Request Review

Resolves rollup (4.57.1 → 4.59.0), ajv (6.12.6 → 6.14.0), and
minimatch CVEs. Remaining 6 low-severity alerts are all elliptic
via Storybook — no fix available without a breaking downgrade.

Made-with: Cursor
@jaymantri jaymantri merged commit e51f15a into main Feb 27, 2026
7 checks passed
@jaymantri jaymantri deleted the fix/lint-warnings branch February 27, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant