eslint-plugin-lwc icon indicating copy to clipboard operation
eslint-plugin-lwc copied to clipboard

Add rule for deprecated directives if:true and if:false

Open kratoon opened this issue 1 year ago • 2 comments
trafficstars

Implement a rule to check for deprecated directives if:true and if:false

The legacy if:true and if:false directives are no longer recommended as Salesforce intend to deprecate and remove these directives in the future. Salesforce recommends that we replace their usage with the new conditional directives to future-proof your code.

https://trailhead.salesforce.com/content/learn/modules/javascript-developer-i-certification-maintenance-summer-23/maintain-your-javascript-developer-i-certification-for-summer-23

kratoon avatar Jan 25 '24 18:01 kratoon

This issue has been linked to a new work item: W-14899807

git2gus[bot] avatar Jan 26 '24 16:01 git2gus[bot]

Thanks for the suggestion, @kratoon! I've added a ticket for this to our internal tracking.

wjhsf avatar Jan 26 '24 16:01 wjhsf