Skip to content

SwaLint v4.2.0

Compare
Choose a tag to compare
@lars-seifert lars-seifert released this 13 Jul 10:18
· 8 commits to release since this release
7c42fad

This version of SwaLint introduces a new feature called AutoLinting.
AutoLinting allows you to choose a set of classes to be linted automatically with a set of chosen LinterRules. The AutoLinter

  • runs again upon changes in these classes
  • can be disabled and enabled (therefore it won't annoy you)
  • counts the number of issues.
  • allows you to see the detailed results (just click on the number of issues)

To start Autolinting, simply select your classes and tests in the main Linter as usual and then click "Start Autolinting" instead of "Run". The Autolinter will open. To see your first result, click "Run again".
Be aware that good linting takes time. So do not choose too many classes and tests for autolinting, otherwise it might take a few minutes upon every change in these classes.
Example Usecase: You can use autolinting and "Dot after Return Consistency" to make sure that you'll never have a dot after a return statement again.