Migration from LinterCop #317
Replies: 2 comments 1 reply
-
|
Hi @ernestasju, There's no built-in migration script or VS Code command at the moment, but the full diagnostic mapping is published here: My suggestion: feed that page to your AI tool of choice (GitHub Copilot, Claude, Codex, ...) and ask it to generate a migration script that does a search-and-replace across your .ruleset.json files and #pragma warning disable/restore directives in your AL code. A few edge cases to be aware of (also documented on that page):
|
Beta Was this translation helpful? Give feedback.
-
|
I crafted "small" conversion PowerShell script: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I was wondering if there are some tools/scripts to automate migration from LinterCop?
I see two tasks. The first one is updating rulesets to new IDs - maybe there is some mapping JSON already? We have some URL based custom rulesets too.
The second one is updating
#pragma warning ...directives in AL code.IMHO, this could be done almost entirely by the VS Code extension, but I did not notice any command like that when I looked at it.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions