From a62ce7b82d92835c3cc19319136025f156749c52 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 26 Mar 2025 19:29:28 +0200 Subject: [PATCH] chore(lint): mega-linter and kics configs --- .mega-linter.yml | 20 ++++++++++++++++++++ kics.config | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 .mega-linter.yml create mode 100644 kics.config diff --git a/.mega-linter.yml b/.mega-linter.yml new file mode 100644 index 0000000..2447b22 --- /dev/null +++ b/.mega-linter.yml @@ -0,0 +1,20 @@ +--- +# Configuration file for MegaLinter +# See all available variables at +# https://megalinter.io/configuration/ and in linters documentation + +APPLY_FIXES: all +SHOW_ELAPSED_TIME: false # Show elapsed time at the end of MegaLinter run +PARALLEL: true +VALIDATE_ALL_CODEBASE: true +FILEIO_REPORTER: false # Generate file.io report +GITHUB_STATUS_REPORTER: true # Generate GitHub status report +IGNORE_GENERATED_FILES: true # Ignore generated files +JAVASCRIPT_DEFAULT_STYLE: prettier # Default style for JavaScript +PRINT_ALPACA: false # Print Alpaca logo in console +SARIF_REPORTER: true # Generate SARIF report +SHOW_SKIPPED_LINTERS: false # Show skipped linters in MegaLinter log + +DISABLE_LINTERS: + - REPOSITORY_DEVSKIM + - REPOSITORY_TRIVY diff --git a/kics.config b/kics.config new file mode 100644 index 0000000..35d5a9a --- /dev/null +++ b/kics.config @@ -0,0 +1,4 @@ +# vim: ft=yaml + +log-level: WARN +exclude-severities: 'info,low'