superlint/test/lib
Marco Ferrari 6fdc091361
feat: local fix mode (#5978)
Certain linters and formatters support fixing linting and formatting
issues (fix mode). Before this change, Super-linter runs linters and
formatters in a mode that doesn't modify the source code in any way
(check only mode).

With this change, Super-linter supports running linters and formatters
in fix mode if explicitly requested by the configuration. If the
configuration includes a variable named FIX_<language_name>,
Super-linters modifies the command to run the linter or formatter for
<language_name> to enable fix mode.

The modifications to the linter or formatter command that Super-linter
applies depend on what is the default for a particular linter: it either
removes or adds options to the command to run the linter or formatter.
2024-08-07 15:36:16 +02:00
..
buildFileListTest.sh chore: move rules vars to a dedicated file (#5946) 2024-08-05 08:56:56 +02:00
detectFilesTest.sh chore: extract language array definition (#5945) 2024-07-31 17:00:41 +02:00
githubEventTest.sh chore: extract language array definition (#5945) 2024-07-31 17:00:41 +02:00
globalsLanguagesTest.sh chore: extract language array definition (#5945) 2024-07-31 17:00:41 +02:00
linterCommandsTest.sh feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00
linterRulesTest.sh chore: add tests for linter rules path corner case (#5981) 2024-08-06 22:02:39 +02:00
outputTest.sh chore: extract language array definition (#5945) 2024-07-31 17:00:41 +02:00
setupSSHTest.sh chore: extract language array definition (#5945) 2024-07-31 17:00:41 +02:00
validationTest.sh feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00