Bugfixes for LinterCop Rule LC0015

I just released a new version for the BusinessCentral.LinterCop. This rule is similar to the PTE0004 from Microsoft which checks for your tables to have a TableData permission set. All the other permissions are not covered. After some discussion and some thoughts I ended up also including the check for TableData in LC0015. If youContinue reading “Bugfixes for LinterCop Rule LC0015”

Business Central LinterCop with older Versions of BC

If you want to run pipelines with the LinterCop, you can use Run-ALPipeline and pass in the path to the LinterCop.dll via the parameter – CustomCops. But when running pipelines for various versions of BusinessCentral you might encounter errors like this: The reason for this is, that every BusinessCentral image ships with the exact versionContinue reading “Business Central LinterCop with older Versions of BC”

BusinessCentral.LinterCop goes VS Code!

After quite some analyzing and reverse engineering, I got it working! The custom code analyzer BusinessCentral.LinterCop is running included in VS Code. And here is how to do it: First, go to my GitHub and download the latest binary here.Then just place it on your hard drive, for example “C:\ALCustomCops\” Then go to your settings file and insert it in theContinue reading “BusinessCentral.LinterCop goes VS Code!”

AL Lint v0.1.7: Code Metrics

This morning I updated the code metrics calculation in AL Lint. Code metrics are meant to give you some comparable numbers on how complex your code is. Why is this important information? In general, if you install this extension, you aim for clean code. This is because code is written once but probably is readContinue reading “AL Lint v0.1.7: Code Metrics”

VS Code extension: AL Lint

Maybe you have read this in twitter already: I took over the AL Lint extension for VS Code from Mark Brummel. He searched quite some time already for someone and finally he found me 😀 For now I did two things on this extension for now. I worked myself a little bit into extension developmentContinue reading “VS Code extension: AL Lint”