Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fetch-depth: 0
- name: Mega-Linter
id: ml
uses: megalinter/megalinter@v6
uses: megalinter/megalinter@v7
- name: Archive production artifacts
if: success() || failure()
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ out/
**/.bloop/
*.worksheet.sc
**/metals.sbt
prism-interactive-demo-web/src/protos/intdemo
*.aux
*.aux
*.toc
*.pdf
.idea_modules
Expand All @@ -35,3 +34,4 @@ mill
client-storage.txt
.bsp
*.sc
megalinter-reports
38 changes: 20 additions & 18 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,25 @@
APPLY_FIXES: all
DEFAULT_BRANCH: main
DISABLE_LINTERS: [
REPOSITORY_DEVSKIM,
REPOSITORY_GITLEAKS,
DOCKERFILE_HADOLINT,
REPOSITORY_TRIVY,
REPOSITORY_CHECKOV,
REPOSITORY_SECRETLINT,
SCALA_SCALAFIX,
SQL_TSQLLINT,
C_CPPLINT, # For pollux/lib/anoncreds/src/main/c
CPP_CPPLINT, # For pollux/lib/anoncreds/src/main/c
JAVA_CHECKSTYLE, # For pollux/lib/anoncreds/src/main/java
REPOSITORY_DEVSKIM,
REPOSITORY_GITLEAKS,
DOCKERFILE_HADOLINT,
REPOSITORY_TRIVY,
REPOSITORY_CHECKOV,
REPOSITORY_SECRETLINT,
SCALA_SCALAFIX,
SQL_TSQLLINT,
C_CPPLINT, # For pollux/lib/anoncreds/src/main/c
CPP_CPPLINT, # For pollux/lib/anoncreds/src/main/c
JAVA_CHECKSTYLE, # For pollux/lib/anoncreds/src/main/java
]
DISABLE_ERRORS_LINTERS: [
KOTLIN_KTLINT,
PROTOBUF_PROTOLINT,
OPENAPI_SPECTRAL,
MARKDOWN_MARKDOWN_LINK_CHECK,
KOTLIN_KTLINT,
PROTOBUF_PROTOLINT,
OPENAPI_SPECTRAL,
MARKDOWN_MARKDOWN_LINK_CHECK,
REPOSITORY_TRUFFLEHOG,
REPOSITORY_KICS,
]

DISABLE: [COPYPASTE, SPELL, CREDENTIALS]
Expand All @@ -37,13 +39,13 @@ BASH_SHELLCHECK_DISABLE_ERRORS: true
# that could lead to new files in workspace created
# with CLRF instead of CL due docker/python/git chain
PRE_COMMANDS:
- command: git config --global core.autocrlf input
cwd: "workspace"
- command: git config --global core.autocrlf input
cwd: "workspace"

# Linter customisation
MARKDOWN_MARKDOWN_LINK_CHECK_FILTER_REGEX_EXCLUDE: "CHANGELOG.md"
MARKDOWN_MARKDOWNLINT_FILTER_REGEX_EXCLUDE: "CHANGELOG.md"
SQL_SQL_LINT_ARGUMENTS: -d postgres --ignore-errors=postgres-invalid-alter-option
SQL_SQL_LINT_ARGUMENTS: -d postgres --ignore-errors=postgres-invalid-alter-option,postgres-invalid-create-option
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: "infrastructure/charts/node/*"
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "infrastructure/charts/node/*"
YAML_V8R_FILTER_REGEX_EXCLUDE: "infrastructure/charts/node/*"
13 changes: 0 additions & 13 deletions CHANGELOG.md

This file was deleted.

138 changes: 0 additions & 138 deletions CONTRIBUTING.md

This file was deleted.

Loading