chore(lint): mega-linter and kics configs

This commit is contained in:
2025-03-26 19:29:28 +02:00
parent 788cdfab42
commit a62ce7b82d
2 changed files with 24 additions and 0 deletions

20
.mega-linter.yml Normal file
View File

@@ -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

4
kics.config Normal file
View File

@@ -0,0 +1,4 @@
# vim: ft=yaml
log-level: WARN
exclude-severities: 'info,low'