Skip to content

Commit b233c24

Browse files
authored
[24.x] Disable rule AS0077 in MAIN branch (#3201) (#3442)
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Rule https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/appsourcecop-as0077 should only be enabled in release branches, as the rule only applies in hotfix scenarios. #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#568822](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/568822)
1 parent 4dd4990 commit b233c24

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/rulesets/ruleset.json

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@
5959
"action": "None",
6060
"justification": "Unsafe methods cannot be invoked in an AppSource application"
6161
},
62+
{
63+
"id": "AS0077",
64+
"action": "None",
65+
"justification": "Adding a var modifier in events should be allowed in main, as it only will break the runtime behavior of extensions subscribing to it when used in hotfix scenarios."
66+
},
6267
{
6368
"id": "AS0081",
6469
"action": "None",

0 commit comments

Comments
 (0)