Skip to content

Commit

Permalink
[MegaLinter] Apply linters fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and mise-en-dev committed Mar 16, 2024
1 parent abf1dd9 commit 418ab1f
Show file tree
Hide file tree
Showing 26 changed files with 2,505 additions and 332 deletions.
87 changes: 87 additions & 0 deletions megalinter-reports/IDE-config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
MegaLinter can help you to define the same linter configuration locally

INSTRUCTIONS

- Copy the content of IDE-config folder at the root of your repository
- if you are using Visual Studio Code, just reopen your project after the copy, and you will be prompted to install recommended extensions
- If not, you can install extensions manually using the following links.

IDE EXTENSIONS APPLICABLE TO YOUR PROJECT

eslint-plugin-jsonc (JSON)
- vscode:
- vscode-eslint: https://github.com/ota-meshi/eslint-plugin-jsonc#visual-studio-code

prettier (JSON)
- atom:
- prettier-atom: https://github.com/prettier/prettier-atom
- atom-mprettier: https://github.com/t9md/atom-mprettier
- atom-miniprettier: https://github.com/duailibe/atom-miniprettier
- emacs:
- prettier-emacs: https://github.com/prettier/prettier-emacs
- prettier.el: https://github.com/jscheid/prettier.el
- apheleia: https://github.com/raxod502/apheleia
- idea:
- Prettier: https://plugins.jetbrains.com/plugin/10456-prettier
- sublime:
- JsPrettier: https://packagecontrol.io/packages/JsPrettier
- vim:
- vim-prettier: https://github.com/prettier/vim-prettier
- visual_studio:
- JavaScriptPrettier: https://github.com/madskristensen/JavaScriptPrettier
- vscode:
- prettier-vscode: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

v8r (JSON)
- eclipse:
- native support: https://www.eclipse.org/
- idea:
- native support: https://www.jetbrains.com/products/#type=ide
- vim:
- vison: https://github.com/Quramy/vison
- vscode:
- native support: https://code.visualstudio.com/

trivy (REPOSITORY)
- vscode:
- VSCode Trivy: https://marketplace.visualstudio.com/items?itemName=AquaSecurityOfficial.trivy-vulnerability-scanner

trivy-sbom (REPOSITORY)
- vscode:
- VSCode Trivy: https://marketplace.visualstudio.com/items?itemName=AquaSecurityOfficial.trivy-vulnerability-scanner

prettier (YAML)
- atom:
- prettier-atom: https://github.com/prettier/prettier-atom
- atom-mprettier: https://github.com/t9md/atom-mprettier
- atom-miniprettier: https://github.com/duailibe/atom-miniprettier
- emacs:
- prettier-emacs: https://github.com/prettier/prettier-emacs
- prettier.el: https://github.com/jscheid/prettier.el
- apheleia: https://github.com/raxod502/apheleia
- idea:
- Prettier: https://plugins.jetbrains.com/plugin/10456-prettier
- sublime:
- JsPrettier: https://packagecontrol.io/packages/JsPrettier
- vim:
- vim-prettier: https://github.com/prettier/vim-prettier
- visual_studio:
- JavaScriptPrettier: https://github.com/madskristensen/JavaScriptPrettier
- vscode:
- prettier-vscode: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

v8r (YAML)
- eclipse:
- native support: https://www.eclipse.org/
- idea:
- native support: https://www.jetbrains.com/products/#type=ide
- vim:
- vison: https://github.com/Quramy/vison
- vscode:
- native support: https://code.visualstudio.com/

yamllint (YAML)
- emacs:
- flycheck: https://github.com/krzysztof-magosa/flycheck-yamllint
- vim:
- ale: https://github.com/w0rp/ale
34 changes: 34 additions & 0 deletions megalinter-reports/IDE-config/.eslintrc-json.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"overrides": [
{
"files": ["*.json"],
"extends": [
"plugin:jsonc/recommended-with-jsonc"
],
"parser": "jsonc-eslint-parser",
"parserOptions": {
"jsonSyntax": "JSONC"
}
},
{
"files": ["*.jsonc"],
"extends": [
"plugin:jsonc/recommended-with-jsonc"
],
"parser": "jsonc-eslint-parser",
"parserOptions": {
"jsonSyntax": "JSONC"
}
},
{
"files": ["*.json5"],
"extends": [
"plugin:jsonc/recommended-with-json5"
],
"parser": "jsonc-eslint-parser",
"parserOptions": {
"jsonSyntax": "JSON5"
}
}
]
}
21 changes: 21 additions & 0 deletions megalinter-reports/IDE-config/.gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

title = "gitleaks config"

[extend]
# useDefault will extend the base configuration with the default gitleaks config:
# https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml
useDefault = true

[allowlist]
description = "Allowlisted files"
paths = [
'''.automation/test''',
'''megalinter-reports''',
'''.github/linters''',
'''node_modules''',
'''.mypy_cache''',
'''(.*?)gitleaks\.toml$''',
'''(.*?)(png|jpg|gif|doc|docx|pdf|bin|xls|pyc|zip)$''',
'''(go.mod|go.sum)$''']


5 changes: 5 additions & 0 deletions megalinter-reports/IDE-config/.idea/externalDependencies.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions megalinter-reports/IDE-config/.npmpackagejsonlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "npm-package-json-lint-config-default"
}
7 changes: 7 additions & 0 deletions megalinter-reports/IDE-config/.secretlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"rules": [
{
"id": "@secretlint/secretlint-rule-preset-recommend"
}
]
}
6 changes: 6 additions & 0 deletions megalinter-reports/IDE-config/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"AquaSecurityOfficial.trivy-vulnerability-scanner"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of eslint-plugin-jsonc linter (version 2.13.0)
See documentation on https://megalinter.io/7.10.0/descriptors/json_eslint_plugin_jsonc/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
5 changes: 5 additions & 0 deletions megalinter-reports/linters_logs/SUCCESS-JSON_JSONLINT.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of jsonlint linter (version 14.0.3)
See documentation on https://megalinter.io/7.10.0/descriptors/json_jsonlint/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of npm-package-json-lint linter (version 7.1.0)
See documentation on https://megalinter.io/7.10.0/descriptors/json_npm_package_json_lint/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
5 changes: 5 additions & 0 deletions megalinter-reports/linters_logs/SUCCESS-JSON_PRETTIER.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of prettier linter (version 3.2.5)
See documentation on https://megalinter.io/7.10.0/descriptors/json_prettier/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
5 changes: 5 additions & 0 deletions megalinter-reports/linters_logs/SUCCESS-JSON_V8R.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of v8r linter (version 3.0.0)
See documentation on https://megalinter.io/7.10.0/descriptors/json_v8r/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of dustilock linter (version 1.2.0)
See documentation on https://megalinter.io/7.10.0/descriptors/repository_dustilock/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of gitleaks linter (version 8.18.2)
See documentation on https://megalinter.io/7.10.0/descriptors/repository_gitleaks/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of git_diff linter (version 2.43.0)
See documentation on https://megalinter.io/7.10.0/descriptors/repository_git_diff/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of secretlint linter (version 8.1.2)
See documentation on https://megalinter.io/7.10.0/descriptors/repository_secretlint/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
5 changes: 5 additions & 0 deletions megalinter-reports/linters_logs/SUCCESS-REPOSITORY_SYFT.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of syft linter (version 1.0.1)
See documentation on https://megalinter.io/7.10.0/descriptors/repository_syft/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
5 changes: 5 additions & 0 deletions megalinter-reports/linters_logs/SUCCESS-REPOSITORY_TRIVY.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of trivy linter (version 0.49.1)
See documentation on https://megalinter.io/7.10.0/descriptors/repository_trivy/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of trivy-sbom linter (version 0.49.1)
See documentation on https://megalinter.io/7.10.0/descriptors/repository_trivy_sbom/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of trufflehog linter (version 3.70.1)
See documentation on https://megalinter.io/7.10.0/descriptors/repository_trufflehog/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
5 changes: 5 additions & 0 deletions megalinter-reports/linters_logs/SUCCESS-YAML_PRETTIER.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of prettier linter (version 3.2.5)
See documentation on https://megalinter.io/7.10.0/descriptors/yaml_prettier/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
5 changes: 5 additions & 0 deletions megalinter-reports/linters_logs/SUCCESS-YAML_V8R.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of v8r linter (version 3.0.0)
See documentation on https://megalinter.io/7.10.0/descriptors/yaml_v8r/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
5 changes: 5 additions & 0 deletions megalinter-reports/linters_logs/SUCCESS-YAML_YAMLLINT.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of yamllint linter (version 1.35.1)
See documentation on https://megalinter.io/7.10.0/descriptors/yaml_yamllint/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
Loading

0 comments on commit 418ab1f

Please sign in to comment.