superlint/test
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
..
data fix: adjust previous commit id on merge commits (#5950) 2024-08-02 10:37:27 +02:00
inspec/super-linter feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00
lib feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00
linters feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00
run-super-linter-tests.sh feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00
testUtils.sh feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00
validate-docker-labels.sh Validate container image labels (#4926) 2023-12-07 14:18:47 +00:00