Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation (#1800)
Browse files Browse the repository at this point in the history
* [automation] Auto-update linters version, help and documentation

* Build
  • Loading branch information
nvuillam authored Aug 24, 2022
1 parent f6273a2 commit dfc10b9
Show file tree
Hide file tree
Showing 14 changed files with 297 additions and 142 deletions.
9 changes: 5 additions & 4 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,9 @@
" input).",
" --python-cell-magics TEXT When processing Jupyter Notebooks, add the",
" given magic to the list of known python-",
" magics (timeit, prun, python, pypy, time,",
" python3, capture). Useful for formatting",
" cells with custom python magics.",
" magics (python, time, capture, pypy, timeit,",
" prun, python3). Useful for formatting cells",
" with custom python magics.",
" -S, --skip-string-normalization",
" Don't normalize string quotes or prefixes.",
" -C, --skip-magic-trailing-comma",
Expand Down Expand Up @@ -2638,7 +2638,7 @@
" [--exclude-files <glob> [<glob>] ...]",
" [--include-files <glob> [<glob>] ...]",
"",
"luacheck 0.26.1, a linter and a static analyzer for Lua.",
"luacheck 1.0.0, a linter and a static analyzer for Lua.",
"",
"Arguments:",
" files List of files, directories and rockspecs to check. Pass",
Expand Down Expand Up @@ -2691,6 +2691,7 @@
" ngx_lua - globals of Openresty lua-nginx-module",
" 0.10.10, including standard LuaJIT 2.x globals;",
" love - globals added by L\u00d6VE;",
" playdate - globals added by the Playdate SDK;",
" busted - globals added by Busted 2.0, by default",
" added for files ending with _spec.lua within spec,",
" test, and tests subdirectories;",
Expand Down
10 changes: 5 additions & 5 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"black": "22.6.0",
"cfn-lint": "0.62.0",
"checkmake": "0.2.1",
"checkov": "2.1.149",
"checkov": "2.1.156",
"checkstyle": "10.3.2",
"chktex": "1.7.6",
"clippy": "0.1.63",
Expand All @@ -17,7 +17,7 @@
"cspell": "6.8.0",
"dartanalyzer": "0.0.0",
"devskim": "0.6.9",
"djlint": "1.11.1",
"djlint": "1.12.0",
"dockerfilelint": "1.8.0",
"dotenv-linter": "3.2.0",
"dotnet-format": "000",
Expand All @@ -29,7 +29,7 @@
"gherkin-lint": "0.0.0",
"git_diff": "2.34.4",
"gitleaks": "8.11.0",
"golangci-lint": "1.48.0",
"golangci-lint": "1.49.0",
"goodcheck": "3.1.0",
"graphql-schema-linter": "3.0.1",
"hadolint": "2.10.0",
Expand All @@ -42,7 +42,7 @@
"kubeconform": "0.4.12",
"kubeval": "0.16.1",
"lintr": "0.0.0",
"luacheck": "0.26.1",
"luacheck": "1.0.0",
"markdown-link-check": "3.10.2",
"markdown-table-formatter": "1.4.0",
"markdownlint": "0.32.2",
Expand Down Expand Up @@ -71,7 +71,7 @@
"rubocop": "1.35.1",
"scalafix": "0.10.1",
"scss-lint": "0.59.0",
"secretlint": "5.2.3",
"secretlint": "5.2.4",
"semgrep": "0.103.0",
"sfdx-scanner": "2.8.0",
"sfdx-scanner-apex": "2.13.8",
Expand Down
373 changes: 257 additions & 116 deletions .automation/generated/megalinter-users.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [checkov](https://www.checkov.io/) from 2.1.145 to **2.1.148** on 2022-08-23
- [checkov](https://www.checkov.io/) from 2.1.148 to **2.1.149** on 2022-08-24
- [tflint](https://github.com/terraform-linters/tflint) from 0.35.0 to **0.39.3** on 2022-08-24
- [golangci-lint](https://golangci-lint.run/) from 1.48.0 to **1.49.0** on 2022-08-24
- [djlint](https://djlint.com/) from 1.11.1 to **1.12.0** on 2022-08-24
- [luacheck](https://luacheck.readthedocs.io) from 0.26.1 to **1.0.0** on 2022-08-24
- [checkov](https://www.checkov.io/) from 2.1.149 to **2.1.156** on 2022-08-24
- [secretlint](https://github.com/secretlint/secretlint) from 5.2.3 to **5.2.4** on 2022-08-24
<!-- linter-versions-end -->

## [v6.6.0] - 2022-08-21
Expand Down
10 changes: 5 additions & 5 deletions docs/all_linters.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/all_users.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ According to posted issues, there are many more private and self-hosted repos us
[![KelvinTegelaar/CIPP - GitHub](https://gh-card.dev/repos/KelvinTegelaar/CIPP.svg?fullname=)](https://github.com/KelvinTegelaar/CIPP){target=_blank}
[![llaville/php-compatinfo - GitHub](https://gh-card.dev/repos/llaville/php-compatinfo.svg?fullname=)](https://github.com/llaville/php-compatinfo){target=_blank}
[![ruzickap/packer-templates - GitHub](https://gh-card.dev/repos/ruzickap/packer-templates.svg?fullname=)](https://github.com/ruzickap/packer-templates){target=_blank}
[![OCSInventory-NG/OCSInventory-Server - GitHub](https://gh-card.dev/repos/OCSInventory-NG/OCSInventory-Server.svg?fullname=)](https://github.com/OCSInventory-NG/OCSInventory-Server){target=_blank}
[![leosuncin/nest-auth-example - GitHub](https://gh-card.dev/repos/leosuncin/nest-auth-example.svg?fullname=)](https://github.com/leosuncin/nest-auth-example){target=_blank}
[![bjw-s/home-ops - GitHub](https://gh-card.dev/repos/bjw-s/home-ops.svg?fullname=)](https://github.com/bjw-s/home-ops){target=_blank}
[![unixorn/tumult.plugin.zsh - GitHub](https://gh-card.dev/repos/unixorn/tumult.plugin.zsh.svg?fullname=)](https://github.com/unixorn/tumult.plugin.zsh){target=_blank}
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/go_golangci_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

## golangci-lint documentation

- Version in MegaLinter: **1.48.0**
- Version in MegaLinter: **1.49.0**
- Visit [Official Web Site](https://golangci-lint.run/){target=_blank}
- See [How to configure golangci-lint rules](https://golangci-lint.run/usage/configuration/#config-file){target=_blank}
- If custom `.golangci.yml` config file is not found, [.golangci.yml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.golangci.yml){target=_blank} will be used
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/html_djlint.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ For example, define `HTML_DJLINT_HTMLHINT_ARGUMENTS: ["--profile", "django"]` to

## djlint documentation

- Version in MegaLinter: **1.11.1**
- Version in MegaLinter: **1.12.0**
- Visit [Official Web Site](https://djlint.com/){target=_blank}
- See [How to configure djlint rules](https://djlint.com/docs/configuration/){target=_blank}
- See [How to disable djlint rules in files](https://djlint.com/docs/ignoring-code/){target=_blank}
Expand Down
5 changes: 3 additions & 2 deletions docs/descriptors/lua_luacheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## luacheck documentation

- Version in MegaLinter: **0.26.1**
- Version in MegaLinter: **1.0.0**
- Visit [Official Web Site](https://luacheck.readthedocs.io){target=_blank}
- See [How to configure luacheck rules](https://luacheck.readthedocs.io/en/stable/config.html){target=_blank}
- If custom `.luacheckrc` config file is not found, [.luacheckrc](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.luacheckrc){target=_blank} will be used
Expand Down Expand Up @@ -101,7 +101,7 @@ Usage: luacheck ([--config <config>] | [--no-config])
[--exclude-files <glob> [<glob>] ...]
[--include-files <glob> [<glob>] ...]

luacheck 0.26.1, a linter and a static analyzer for Lua.
luacheck 1.0.0, a linter and a static analyzer for Lua.

Arguments:
files List of files, directories and rockspecs to check. Pass
Expand Down Expand Up @@ -154,6 +154,7 @@ Options for configuring allowed globals:
ngx_lua - globals of Openresty lua-nginx-module
0.10.10, including standard LuaJIT 2.x globals;
love - globals added by LÖVE;
playdate - globals added by the Playdate SDK;
busted - globals added by Busted 2.0, by default
added for files ending with _spec.lua within spec,
test, and tests subdirectories;
Expand Down
6 changes: 3 additions & 3 deletions docs/descriptors/python_black.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ Options:
input).
--python-cell-magics TEXT When processing Jupyter Notebooks, add the
given magic to the list of known python-
magics (timeit, prun, python, pypy, time,
python3, capture). Useful for formatting
cells with custom python magics.
magics (python, time, capture, pypy, timeit,
prun, python3). Useful for formatting cells
with custom python magics.
-S, --skip-string-normalization
Don't normalize string quotes or prefixes.
-C, --skip-magic-trailing-comma
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/repository_checkov.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

## checkov documentation

- Version in MegaLinter: **2.1.149**
- Version in MegaLinter: **2.1.156**
- Visit [Official Web Site](https://www.checkov.io/){target=_blank}
- See [How to configure checkov rules](https://github.com/bridgecrewio/checkov#configuration-using-a-config-file){target=_blank}
- If custom `.checkov.yml` config file is not found, [.checkov.yml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.checkov.yml){target=_blank} will be used
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/repository_secretlint.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

## secretlint documentation

- Version in MegaLinter: **5.2.3**
- Version in MegaLinter: **5.2.4**
- Visit [Official Web Site](https://github.com/secretlint/secretlint#readme){target=_blank}
- See [How to configure secretlint rules](https://github.com/secretlint/secretlint#configuration){target=_blank}
- If custom `.secretlintrc.json` config file is not found, [.secretlintrc.json](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.secretlintrc.json){target=_blank} will be used
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/terraform_checkov.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You should disable TERRAFORM_CHECKOV by adding it in DISABLE_LINTERS property.

## checkov documentation

- Version in MegaLinter: **2.1.149**
- Version in MegaLinter: **2.1.156**
- Visit [Official Web Site](https://www.checkov.io/){target=_blank}
- See [How to disable checkov rules in files](https://www.checkov.io/2.Basics/Suppressing%20and%20Skipping%20Policies.html){target=_blank}
- See [Index of problems detected by checkov](https://www.checkov.io/5.Policy%20Index/all.html){target=_blank}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1066,9 +1066,15 @@
"linter_speed": {
"$id": "#/properties/linters/items/properties/linter_speed",
"description": "Average speed of the linter (performances indicator). For 1 (very slow) to 5 (very fast)",
"enum": [1,2,3,4,5],
"enum": [
1,
2,
3,
4,
5
],
"title": "Speed indicator",
"type": "number"
"type": "number"
},
"linter_text": {
"$id": "#/properties/linters/items/properties/linter_text",
Expand Down

0 comments on commit dfc10b9

Please sign in to comment.