Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
notebooks-operations
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Projekty
notebooks-operations
Commits
c38503ce
Commit
c38503ce
authored
6 months ago
by
František Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
Megalinter file
parent
9d607ac4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.mega-linter.yaml
+62
-0
62 additions, 0 deletions
.mega-linter.yaml
with
62 additions
and
0 deletions
.mega-linter.yaml
0 → 100644
+
62
−
0
View file @
c38503ce
---
DISABLE
:
-
COPYPASTE
-
SPELL
DISABLE_LINTERS
:
# Unable to import 'requests' (import-error)
-
PYTHON_PYLINT
# can't be configured (bugs), too many checks
-
REPOSITORY_KICS
# can't be configured
-
REPOSITORY_TRIVY
# usage problems (https://github.com/prettier/prettier/issues/6069)
-
YAML_PRETTIER
# problem with schemas
-
YAML_V8R
# requires terraform files, but without directories selection
-
TERRAFORM_TERRASCAN
# yaml[octal-values]: bug
ANSIBLE_ANSIBLE_LINT_ARGUMENTS
:
>-
-x yaml[octal-values]
--exclude megalinter-reports/
--exclude */deployments/*.yaml
--exclude */playbooks/files/calico.yaml
--exclude */terraform/cloud-init.yaml
# B105:hardcoded_password_string: false positive
# B404:blacklist: subprocess needed
# B603:subprocess_without_shell_equals_true: needed
PYTHON_BANDIT_ARGUMENTS
:
--skip B105,B404,B603
# CKV2_ANSIBLE_1 (http): local comunication
# CKV_OPENSTACK_2: useless check
# CKV_SECRET_6 (base64): just crazy check
# FIXME: jupyterhub-jwt.yaml
REPOSITORY_CHECKOV_ARGUMENTS
:
>-
--skip-check CKV2_ANSIBLE_1,CKV_OPENSTACK_2,CKV_SECRET_6
--skip-path .*/playbooks/files/(jupyterhub-jwt|calico).yaml
--skip-path .*/playbooks/upgrade.yaml
# DS137138 (http): local communication
# DS169125 (ssl): protocol actually banned
# DS169126 (ssl): protocol actually banned
# DS176209: FIXME jupyterhub-jwt.yaml
REPOSITORY_DEVSKIM_ARGUMENTS
:
>-
--ignore-globs .git/**,**/playbooks/files/calico.yaml
--ignore-rule-ids DS137138,DS169125,DS169126,DS176209
# terraform_unused_declarations: common variables file
# terraform_required_providers: common requirements file
# terraform_required_version: common requirements file
TERRAFORM_TFLINT_ARGUMENTS
:
>-
--disable-rule=terraform_unused_declarations
--disable-rule=terraform_required_providers
--disable-rule=terraform_required_version
YAML_PRETTIER_FILTER_REGEX_EXCLUDE
:
^[^/]*/(deployments/.*)\.yaml$
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE
:
^[^/]*/(deployments/.*|playbooks/files/calico|terraform/cloud-init)\.yaml$
FILTER_REGEX_EXCLUDE
:
^.*\.swp$
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment