benchpress/.mega-linter.yml

20 строки
621 B
YAML
Исходник Обычный вид История

Mega Linter Migration (#127) * Initial megalinter setup * Add some configs for various linters * Use dotnet flavor to improve runtime performance * Exclude bicep directory using regex * Add more configurations and resolve markdown table formatter * Fix regex exclude * Resolve bicep linting and ignore bicep submodule for jscpd * Remove dotnet restore from workflow so that it can be moved into megalinter commands * Add more linter configs and resolve linting issues * Resolve prettier linter and rename scripanalyzer config * Resolve additional linting issues and move config files into config folder * Resolve more yaml lint issues * Ignore cspell * Remove script analyzer config since only default settings are needed * Resolve some powershell linting issues * Correct suppression on template generated by Generator code * Resolve powershell linting issues * Add vscode as ignored for jsonlint * Disable dotnet format in favor of csharpier and because of bug * Resolve csharpier issues * Remove pesky file * Reintroduce pesky file * Resolve some actions linting * Remove cspell config and resolve more action linter * Add powershell script analyzer config for BOM encoding * Reformat psscriptanalyzer config * Remove psscriptanalyzer config because there is a bug with megalinter * Resolve last action lint issue * Remove linting steps from pr files since it will be handled by pr mega linter file * Cleanup comments * Exclude the one bicep file instead of suppressing rule * Disable actionlint for now * Cleanup comments per PR feedback
2023-01-28 00:20:36 +03:00
---
APPLY_FIXES: none # all, none, or list of linter keys
FILTER_REGEX_EXCLUDE: (BenchPress/bicep)
DISABLE_LINTERS:
- REPOSITORY_CHECKOV
- REPOSITORY_TRIVY
- SPELL_CSPELL
- REPOSITORY_GIT_DIFF
- CSHARP_DOTNET_FORMAT
DISABLE_ERRORS_LINTERS:
- REPOSITORY_DEVSKIM
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
LINTER_RULES_PATH: .github/config/linter
POWERSHELL_POWERSHELL_FILTER_REGEX_EXCLUDE: (.*/Generators/templates/)
Mega Linter Migration (#127) * Initial megalinter setup * Add some configs for various linters * Use dotnet flavor to improve runtime performance * Exclude bicep directory using regex * Add more configurations and resolve markdown table formatter * Fix regex exclude * Resolve bicep linting and ignore bicep submodule for jscpd * Remove dotnet restore from workflow so that it can be moved into megalinter commands * Add more linter configs and resolve linting issues * Resolve prettier linter and rename scripanalyzer config * Resolve additional linting issues and move config files into config folder * Resolve more yaml lint issues * Ignore cspell * Remove script analyzer config since only default settings are needed * Resolve some powershell linting issues * Correct suppression on template generated by Generator code * Resolve powershell linting issues * Add vscode as ignored for jsonlint * Disable dotnet format in favor of csharpier and because of bug * Resolve csharpier issues * Remove pesky file * Reintroduce pesky file * Resolve some actions linting * Remove cspell config and resolve more action linter * Add powershell script analyzer config for BOM encoding * Reformat psscriptanalyzer config * Remove psscriptanalyzer config because there is a bug with megalinter * Resolve last action lint issue * Remove linting steps from pr files since it will be handled by pr mega linter file * Cleanup comments * Exclude the one bicep file instead of suppressing rule * Disable actionlint for now * Cleanup comments per PR feedback
2023-01-28 00:20:36 +03:00
JSON_JSONLINT_FILTER_REGEX_EXCLUDE: (.vscode/)
BICEP_BICEP_LINTER_ARGUMENTS: --stdout
JAVASCRIPT_PRETTIER_ARGUMENTS: --check
MARKDOWN_MARKDOWN_LINK_CHECK_FILTER_REGEX_EXCLUDE: (SUPPORT.md)