StefanMaron / BusinessCentral.LinterCop

Community driven code linter for AL (MS Dynamics 365 Business Central)
https://stefanmaron.com
MIT License
68 stars 27 forks source link

Add CaptionML in CaptionIsMissing check LC0016 #627

Closed ans-bar-bm closed 1 month ago

ans-bar-bm commented 1 month ago

fixes #626

Simple fix attempt by adding CaptionML in the CaptionIsMissing check. As described in the issue if "allowing" CaptionML is not wanted since afaik it should not be used anymore, then maybe checking if the field is an extension of a field "owned" by the base object would be possible? (I have no idea how one would implement that tho)