chore: update all packages to latest, migrate ESLint to v9 flat config#2
Draft
chore: update all packages to latest, migrate ESLint to v9 flat config#2
Conversation
…g, fix lint errors Agent-Logs-Url: https://github.com/codesign-cloud/cdc-figma-plugin-react-starterkit/sessions/054465f6-3210-45af-9aca-f1103571eab1 Co-authored-by: thinkdj <688055+thinkdj@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
thinkdj
April 8, 2026 19:35
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings all dependencies current, eliminates 18 vulnerabilities (13 high), and modernizes the ESLint setup to v9 flat config.
Package upgrades
react,react-dom,@types/*)@typescript-eslint6 → 8axios1.12 → 1.15,webpack5.99 → 5.106@figma/plugin-typings1.116 → 1.124,eslint-plugin-figma-plugins0.16 → 1.0typescript5.3 → 5.9,framer-motion12.23 → 12.38,tailwindcss3.4.17 → 3.4.19, all other minor/patch bumpsAdded:
typescript-eslint(unified package) +@eslint/js— required for ESLint v9 flat config.ESLint v9 flat config migration
eslintConfigfrompackage.jsoneslint.config.mjsusingtseslint.config()with file-scoped rules (TS/TSX source only) and a separate CommonJS globals block forwebpack.config.js/postcss.config.jslintscript topackage.jsonCode fixes (surfaced by stricter lint rules)
anyelimination:figmaStorage.ts(any→unknown/Record<string,unknown>),useFigmaMessaging.tsgeneric default (unknown|any→Record<string,unknown>), all demo components now use theFigmaMessagetype instead of(message: any)pluginController.ts: wrappedcaseblocks in braces (no-case-declarations),let→constfor non-reassigned variables,any[]→ReturnType<typeof getNodeProps>[]CreateSpiralApp.tsx:e.target.value as any→as typeof shape