Skip to content
Benjamin edited this page Mar 14, 2020 · 8 revisions

File Linter

Built in is a VB6 linter. While not necessary, it is somewhat recommended.

Linting the code will help you spot issues that may slow down your conversion. Many do not matter a whole lot, such as line indent, whether you have the variable on the Next of a For ... Next loop.

In general, the code converter should run without it, but some rules, such as the WITH handling, are often better handled in the native code, rather than letting these things migrate to C# and trying to introduce a temp variable name "on the fly".

Linter Configuration

If you want to configure the linter, you can configure individual rules in the file modLinter.LintAbbr(), and follow the instructions in the comment there. Ultimately, if the function return "", the rule is ignored.

Clone this wiki locally