From da2d948b4ace6f27fe2e628015259a35b4165245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Maro=C5=84?= Date: Thu, 14 Oct 2021 18:59:03 +0200 Subject: [PATCH] Update README.md --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3ca35ffe..ff39cc57 100644 --- a/README.md +++ b/README.md @@ -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? @@ -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)