Closed MikkelJensenECIT closed 2 weeks ago
Prefixes
interface "ABC ISubscriber"
Setting the
mandatoryAffixes
ormandatoryPrefix
in the AppSourceCop.json file will enable this rule to handle prefixes.
https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0054#prefixes
In the wiki for this rule, there is a section about Prefixes.
Could it be that the AL project does not have an AppSourceCop.json
configured?
I don't have AppSourceCop enabled though
Is it possible to do the same with the PerTenantCop?
I always recommend to use all cops.
I have created rulesets to make them work in combination
I don't have AppSourceCop enabled though
No need for the AppSourceCop itself, but I need the file in the root of the workspace to determine the affix.
The AppSourceCop itself doesn't need to be enabled. We're only using the config file to retrieve the affixes, avoiding duplicate configuration in case of AppSource development.
I've added this to the documentation (wiki) for this rule. @MikkelJensenECIT, were you able to get it working?
This rule does not work if the interface has a prefix.
Example: