figma-plugin
figma-plugin copied to clipboard
Introduce new linting rules for Figma's new dynamic page loading
Does any usage of
figma.variables.getLocalVariables()need to be replaced with(await getVariablesWithoutZombies())going forward? Maybe a custom ESLint rule or something could be useful for this to prevent the bug from being reintroduced in the future.
Yes! There's a eslint rule by figma provided here: https://www.figma.com/plugin-docs/migrating-to-dynamic-loading/
we should add that
Originally posted by @six7 in https://github.com/tokens-studio/figma-plugin/issues/3137#issuecomment-2355170616