File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04
22
3+ # hadolint ignore=DL3008
34RUN apt-get update && \
45 apt-get install -y --no-install-recommends \
56 ca-certificates \
Original file line number Diff line number Diff line change 1+ version : " 2"
2+ run :
3+ skip-dirs :
4+ - vendor
5+ linters :
6+ default : standard # https://golangci-lint.run/usage/linters/#enabled-by-default
7+ enable :
8+ - gosec # Security checks for Go code
9+ exclusions :
10+ generated : lax
11+ presets :
12+ - comments
13+ - common-false-positives
14+ - legacy
15+ - std-error-handling
16+ formatters :
17+ enable :
18+ - goimports # Checks import statements are formatted
19+ exclusions :
20+ generated : lax
Original file line number Diff line number Diff line change 1+ # https://megalinter.io/latest/supported-linters/
2+ ADDITIONAL_EXCLUDED_DIRECTORIES :
3+ - vendor
4+ ENABLE_LINTERS :
5+ - ACTION_ACTIONLINT
6+ # - ANSIBLE_ANSIBLE_LINT
7+ # - BASH_SHELLCHECK
8+ - DOCKERFILE_HADOLINT
9+ - GO_GOLANGCI_LINT
10+ - MARKDOWN_MARKDOWNLINT
11+ # - PYTHON_RUFF
12+ # - PROTOBUF_PROTOLINT
13+ - REPOSITORY_GITLEAKS
14+ - REPOSITORY_KICS
15+ - YAML_YAMLLINT
16+ MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE : ' (^|/)(\.specify)/'
17+ REPOSITORY_KICS_ARGUMENTS : " --fail-on high"
You can’t perform that action at this time.
0 commit comments