lint/lib/functions
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
..
buildFileList.sh feat: save super-linter output if requested (#5806) 2024-07-01 14:50:52 +02:00
detectFiles.sh fix: don't skip processing ansible_directory pwd (#5790) 2024-06-19 16:58:11 +00:00
githubDomain.sh feat: configure github server url (#5792) 2024-06-21 08:54:19 +02:00
githubEvent.sh feat: automatically set the default branch (#5242) 2024-02-08 08:41:07 +00:00
linterCommands.sh feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00
linterRules.sh chore: simplify error code checks (#5131) 2024-01-30 08:48:24 +01:00
log.sh fix: respect log level when writing to the log (#5546) 2024-04-20 09:18:14 +00:00
output.sh fix: avoid duplicated content in summary (#5939) 2024-07-30 08:35:14 +02:00
possum.sh break out: (#990) 2020-11-12 11:27:34 -06:00
setupSSH.sh feat: enable shell error checks (#5126) 2024-02-20 19:05:39 +00:00
updateSSL.sh feat: enable shell error checks (#5126) 2024-02-20 19:05:39 +00:00
validation.sh feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00
worker.sh feat: local fix mode (#5978) 2024-08-07 15:36:16 +02:00