Skip to content

Commit

Permalink
Add documentation for new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthurvdv committed Dec 13, 2023
1 parent 804585a commit e421b55
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions LinterCop.ruleset.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,26 @@
"id": "LC0043",
"action": "Info",
"justification": "Use SecretText type to protect credentials and sensitive textual values from being revealed."
},
{
"id": "LC0044",
"action": "Info",
"justification": "TransferFields consistency between records."
},
{
"id": "LC0045",
"action": "Info",
"justification": "Zero (0) Enum value should be reserved for Empty Value."
},
{
"id": "LC0046",
"action": "Info",
"justification": "Label with suffix Tok must be locked."
},
{
"id": "LC0047",
"action": "Info",
"justification": "Locked Label must have a suffix Tok."
}
]
}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ Further note that you should have BcContainerHelper version 2.0.16 (or newer) in
|[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|
|[LC0043](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0043)|Use `SecretText` type to protect credentials and sensitive textual values from being revealed.|Info|
|[LC0044](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0044)|TransferFields consistency between records.|Info|
|[LC0045](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0045)|Zero (0) `Enum` value should be reserved for Empty Value.|Info|
|[LC0046](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0046)|`Label` with suffix Tok must be locked.|Info|
|[LC0047](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0047)|Locked `Label` must have a suffix Tok.|Info|


## Configuration

Expand Down

0 comments on commit e421b55

Please sign in to comment.