BusinessCentral.LinterCop icon indicating copy to clipboard operation
BusinessCentral.LinterCop copied to clipboard

Community driven code linter for AL (MS Dynamics 365 Business Central)

Results 108 BusinessCentral.LinterCop issues
Sort by recently updated
recently updated
newest added

Currently there's no diagnostic raised when using the [Text.IncStr(Text) Method](https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/text/text-incstr-method), where the outcome of the method could increase the length with one extra character. ```AL codeunit 50100 MyCodeunit { procedure...

enhancement

1. Describe the bug A clear and concise description of what the bug is. Image 2. To Reproduce Steps to reproduce the behavior: Not sure how to reproduce it. It...

bug
Resolved

```AL /// /// /// /// /// procedure GetTemplateSelection(var TemplateSelection: Record "Template Selection LNBSF"; "Label Type Code": Code[20]) ``` This triggers the warning "The documentation comment does not match the procedure...

bug
Resolved

Hi, I get the following error in one repository (upgrade from NAV to BC 25: ![Image](https://github.com/user-attachments/assets/72785f82-e703-47db-a122-2f65212970c5) I can not identify which line is causing this issue. Lintercop Version 0.1.10 AL...

bug
part of upcoming release

I have a global variable called "Difference" of type Decimal. When trying to assign a Value to Difference LC0017 triggers even though it is a Global Variable and no FlowField....

bug
cant repro

LC0068 does not fire inside table code that does not use record variables. Repro: Add below code to a table: ```al procedure MyProcedure() begin Rec.Modify(); //

I have problems with the auto download feature in VS Code. I get this error message in VS Code: ![Image](https://github.com/user-attachments/assets/11c50101-44c3-482e-b083-5a8eb20c3a0c) When I try to look at the permissions of the...

When we activated this rule we got 4K notifications. Most because of tables like Sales Setup, Purchase Setup, Company Info. Tables that we know are there. So maybe this rule...

enhancement
need more input

This issue was fixed in 2020 for the standard analyzers. [https://github.com/microsoft/AL/issues/5670](https://github.com/microsoft/AL/issues/5670)

enhancement

![image](https://github.com/user-attachments/assets/1b9931a9-1953-41b6-bb98-21421f84fed7) There are too much " in the message.

bug