Skip to content

Commit

Permalink
Add new rules to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthurvdv committed Dec 6, 2023
1 parent d0aa20f commit d597b88
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions LinterCop.ruleset.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,21 @@
"id": "LC0039",
"action": "Warning",
"justification": "The given argument has a different type from the one expected."
},
{
"id": "LC0040",
"action": "Info",
"justification": "Explicitly set the RunTrigger parameter on build-in methods."
},
{
"id": "LC0041",
"action": "Info",
"justification": "Empty Captions should be Locked."
},
{
"id": "LC0042",
"action": "Warning",
"justification": "AutoCalcFields should only be used for FlowFields or Blob fields."
}
]
}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ Further note that you should have BcContainerHelper version 2.0.16 (or newer) in
|[LC0037](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0037)|Do not use line breaks in ToolTip.|Info|
|[LC0038](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0038)|Try to not exceed 200 characters (including spaces).|Info|
|[LC0039](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0039)|The given argument has a different type from the one expected.|Warning|
|[LC0040](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0040)|Explicitly set the `RunTrigger` parameter on build-in methods.|Info|
|[LC0041](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0041)|Empty Captions should be `Locked`.|Info|
|[LC0042](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0042)|`AutoCalcFields` should only be used for FlowFields or Blob fields.|Warning|


## Configuration
Expand Down

0 comments on commit d597b88

Please sign in to comment.