diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..04330bbfce5f5fac95b28a38da7977600d4d2333 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = tab +insert_final_newline = true +max_line_length = off +trim_trailing_whitespace = true + +[*.md] +indent_style = none + +[*.{yaml,yml}] +indent_size = 2 +indent_style = space + +[Dockerfile] +indent_style = none diff --git a/.mega-linter.yml b/.mega-linter.yml new file mode 100644 index 0000000000000000000000000000000000000000..69fc43552061de8669ad40e3b8a1a91057cf785a --- /dev/null +++ b/.mega-linter.yml @@ -0,0 +1,20 @@ +--- +DISABLE: + - SPELL + +DISABLE_LINTERS: + # buggy (.git) + - REPOSITORY_DEVSKIM + # hard to configure + - REPOSITORY_KICS + # hard to configure + - REPOSITORY_TRIVY + +FILTER_REGEX_EXCLUDE: ^(TODO|.*\.swp)$ + +# DL3008: Pin versions in apt get install: do not want +DOCKERFILE_HADOLINT_ARGUMENTS: --ignore DL3008 + +# CKV_DOCKER_2: Ensure that HEALTHCHECK instructions have been added to container images: not a service +# CKV_DOCKER_3 Ensure that a user for the container has been created: debugging easier with root +REPOSITORY_CHECKOV_ARGUMENTS: --skip-check CKV_DOCKER_2,CKV_DOCKER_3