figma-plugin icon indicating copy to clipboard operation
figma-plugin copied to clipboard

Introduce new linting rules for Figma's new dynamic page loading

Open six7 opened this issue 1 year ago • 0 comments

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

six7 avatar Sep 18 '24 06:09 six7