Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanMaron authored Oct 14, 2021
1 parent 0c700bd commit da2d948
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,7 @@ Further note that you should have BcContainerHelper version 2.0.16 (or newer) in
Some rules can be configured by adding a file named `LinterCop.json` in the root of your project.
**Important:** The file will only be read on startup of the linter, meaning if you make any changes you need to reload VS Code once.

These are the default values:

``` json
{
"cyclomaticComplexetyThreshold": 8,
"maintainablityIndexThreshold": 20,
"enableRule0011ForTableFields": false
}
```
For an example and the default values see: [LinterCop.json](LinterCop.json)

## Can I disable certain rules?

Expand All @@ -67,3 +59,5 @@ https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/develope

Of course you can also use pragmas for disabling a rule just for a certain place in code.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/directives/devenv-directive-pragma-warning

For an example and the default values see: [LinterCop.ruleset.json](LinterCop.ruleset.json)

0 comments on commit da2d948

Please sign in to comment.