Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 680 Bytes

ban-deprecated-sync-prop-getters.md

File metadata and controls

12 lines (8 loc) · 680 Bytes

Ban use of deprecated synchronous property getters (@figma/figma-plugins/ban-deprecated-sync-prop-getters)

💼 This rule is enabled in the following configs: 👍 recommended, 🔦 recommended-problems-only.

🔧 This rule is automatically fixable by the --fix CLI option.

Reading certain object properties synchronously has been deprecated. For each of these, the API contains an async getter method that should be used instead. This rule provides a fix that automatically converts read accesses of these properties into their async equivalents.