Skip to content

Commit 531f4a5

Browse files
authored
[automation] Auto-update linters version, help and documentation (#1743)
* [automation] Auto-update linters version, help and documentation * Disable proselint by default if .proselintrc file is not found * Upgrade gitleaks + build doc
1 parent 129a8e8 commit 531f4a5

File tree

29 files changed

+14565
-14544
lines changed

29 files changed

+14565
-14544
lines changed

.automation/generated/linter-helps.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,9 @@
345345
" input).",
346346
" --python-cell-magics TEXT When processing Jupyter Notebooks, add the",
347347
" given magic to the list of known python-",
348-
" magics (timeit, python3, time, pypy,",
349-
" capture, python, prun). Useful for",
350-
" formatting cells with custom python magics.",
348+
" magics (prun, timeit, python, pypy, python3,",
349+
" time, capture). Useful for formatting cells",
350+
" with custom python magics.",
351351
" -S, --skip-string-normalization",
352352
" Don't normalize string quotes or prefixes.",
353353
" -C, --skip-magic-trailing-comma",

.automation/generated/linter-versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"markdownlint": "0.32.1",
4949
"misspell": "0.3.4",
5050
"mypy": "0.971",
51-
"npm-groovy-lint": "10.0.3",
51+
"npm-groovy-lint": "10.1.0",
5252
"perlcritic": "1.140",
5353
"php": "7.4.26",
5454
"phpcs": "3.7.1",

.automation/generated/megalinter-users.json

Lines changed: 83 additions & 77 deletions
Large diffs are not rendered by default.

.automation/test/spell/.proselintrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"checks": {
3+
"typography.diacritical_marks": false
4+
}
5+
}

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
99
Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `oxsecurity/megalinter:beta` docker image
1010

1111
- npm-groovy-lint: Use Cli lint mode `list_of_files` for much better performances
12+
- Disable proselint by default if .proselintrc file is not found
1213

1314
- Linter versions upgrades
1415
- [npm-groovy-lint](https://nvuillam.github.io/npm-groovy-lint/) from 9.5.0 to **10.0.0** on 2022-08-14
@@ -18,6 +19,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
1819
- [npm-groovy-lint](https://nvuillam.github.io/npm-groovy-lint/) from 10.0.0 to **10.0.3** on 2022-08-15
1920
- [checkov](https://www.checkov.io/) from 2.1.123 to **2.1.126** on 2022-08-15
2021
- [rstcheck](https://github.com/myint/rstcheck) from 6.0.0 to **6.1.0** on 2022-08-15
22+
- [npm-groovy-lint](https://nvuillam.github.io/npm-groovy-lint/) from 10.0.3 to **10.1.0** on 2022-08-15
2123
<!-- linter-versions-end -->
2224

2325
## [v6.4.0] - 2022-08-12

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM ghcr.io/assignuser/chktex-alpine:latest as chktex
1818
FROM yoheimuta/protolint:latest as protolint
19-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
19+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
2020
FROM ghcr.io/terraform-linters/tflint:v0.35.0 as tflint
2121
FROM tenable/terrascan:latest as terrascan
2222
FROM alpine/terragrunt:latest as terragrunt

docs/all_linters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
| [**markdownlint**](https://github.com/DavidAnson/markdownlint){target=_blank} | 0.32.1 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/DavidAnson/markdownlint?cacheSeconds=3600)](https://github.com/DavidAnson/markdownlint){target=_blank} | [MARKDOWN](descriptors/markdown_markdownlint.md) | :white_circle: | [Repository](https://github.com/DavidAnson/markdownlint){target=_blank} |
5454
| [**misspell**](https://github.com/client9/misspell){target=_blank} | 0.3.4 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/client9/misspell?cacheSeconds=3600)](https://github.com/client9/misspell){target=_blank} | [SPELL](descriptors/spell_misspell.md) | :white_circle: | [Repository](https://github.com/client9/misspell){target=_blank} |
5555
| [**mypy**](https://github.com/python/mypy){target=_blank} | 0.971 | [MIT](licenses/mypy.md) | [![GitHub stars](https://img.shields.io/github/stars/python/mypy?cacheSeconds=3600)](https://github.com/python/mypy){target=_blank} | [PYTHON](descriptors/python_mypy.md) | <!-- --> | [Repository](https://github.com/python/mypy){target=_blank} |
56-
| [**npm-groovy-lint**](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | 10.0.3 | [GPL-3.0](licenses/npm-groovy-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/nvuillam/npm-groovy-lint?cacheSeconds=3600)](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | [GROOVY](descriptors/groovy_npm_groovy_lint.md) | :heart: | [MegaLinter reference](https://nvuillam.github.io/npm-groovy-lint/#mega-linter){target=_blank} |
56+
| [**npm-groovy-lint**](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | 10.1.0 | [GPL-3.0](licenses/npm-groovy-lint.md) | [![GitHub stars](https://img.shields.io/github/stars/nvuillam/npm-groovy-lint?cacheSeconds=3600)](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | [GROOVY](descriptors/groovy_npm_groovy_lint.md) | :heart: | [MegaLinter reference](https://nvuillam.github.io/npm-groovy-lint/#mega-linter){target=_blank} |
5757
| [**perlcritic**](https://github.com/Perl-Critic/Perl-Critic){target=_blank} | 1.140 | [Other](licenses/perlcritic.md) | [![GitHub stars](https://img.shields.io/github/stars/Perl-Critic/Perl-Critic?cacheSeconds=3600)](https://github.com/Perl-Critic/Perl-Critic){target=_blank} | [PERL](descriptors/perl_perlcritic.md) | :white_circle: | [Repository](https://github.com/Perl-Critic/Perl-Critic){target=_blank} |
5858
| [**phpcs**](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} | 3.7.1 | <!-- --> | [![GitHub stars](https://img.shields.io/github/stars/squizlabs/PHP_CodeSniffer?cacheSeconds=3600)](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} | [PHP](descriptors/php_phpcs.md) | :white_circle: | [Repository](https://github.com/squizlabs/PHP_CodeSniffer){target=_blank} |
5959
| [**phplint**](https://github.com/overtrue/phplint){target=_blank} | 3.0 | <!-- --> | <!-- --> | [PHP](descriptors/php_phplint.md) | :white_circle: | [Web Site](https://github.com/overtrue/phplint){target=_blank} |

docs/descriptors/groovy_npm_groovy_lint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## npm-groovy-lint documentation
66

7-
- Version in MegaLinter: **10.0.3**
7+
- Version in MegaLinter: **10.1.0**
88
- Visit [Official Web Site](https://nvuillam.github.io/npm-groovy-lint/){target=_blank}
99
- See [How to configure npm-groovy-lint rules](https://github.com/nvuillam/npm-groovy-lint#configuration){target=_blank}
1010
- If custom `.groovylintrc.json` config file is not found, [.groovylintrc.json](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.groovylintrc.json){target=_blank} will be used

docs/descriptors/python_black.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ Options:
114114
input).
115115
--python-cell-magics TEXT When processing Jupyter Notebooks, add the
116116
given magic to the list of known python-
117-
magics (timeit, python3, time, pypy,
118-
capture, python, prun). Useful for
119-
formatting cells with custom python magics.
117+
magics (prun, timeit, python, pypy, python3,
118+
time, capture). Useful for formatting cells
119+
with custom python magics.
120120
-S, --skip-string-normalization
121121
Don't normalize string quotes or prefixes.
122122
-C, --skip-magic-trailing-comma

docs/descriptors/repository_gitleaks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Use "gitleaks [command] --help" for more information about a command.
115115

116116
- Dockerfile commands :
117117
```dockerfile
118-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
118+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
119119
COPY --from=gitleaks /usr/bin/gitleaks /usr/bin/
120120
```
121121

docs/descriptors/spell_proselint.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ a linter for prose
1515

1616
- Version in MegaLinter: **0.13.0**
1717
- Visit [Official Web Site](http://proselint.com){target=_blank}
18+
- See [How to configure proselint rules](https://github.com/amperser/proselint#checks){target=_blank}
19+
- See [Index of problems detected by proselint](https://github.com/amperser/proselint#checks){target=_blank}
1820

1921
[![proselint - GitHub](https://gh-card.dev/repos/amperser/proselint.svg?fullname=)](https://github.com/amperser/proselint){target=_blank}
2022

@@ -73,6 +75,7 @@ This linter is available in the following flavours
7375

7476
### How are identified applicable files
7577

78+
- Activated only if one of these files is found: `.proselintrc, proselint/config.json`
7679
- File extensions: `.md`, `.txt`
7780

7881
<!-- markdownlint-disable -->

flavors/ci_light/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#FROM__START
1414
FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
16-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
16+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1717
#FROM__END
1818

1919
##################

flavors/documentation/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/dotnet/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/go/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/java/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ FROM cljkondo/clj-kondo:2022.08.03-alpine as clj-kondo
1616
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1717
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1818
FROM yoheimuta/protolint:latest as protolint
19-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
19+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
2020
#FROM__END
2121

2222
##################

flavors/javascript/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/php/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/python/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/ruby/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/rust/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/salesforce/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/security/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#############################################################################################
1313
#FROM__START
1414
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
15-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
15+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1616
FROM ghcr.io/terraform-linters/tflint:v0.35.0 as tflint
1717
FROM tenable/terrascan:latest as terrascan
1818
FROM alpine/terragrunt:latest as terragrunt

flavors/swift/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
#FROM__END
2020

2121
##################

flavors/terraform/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ FROM mvdan/shfmt:latest-alpine as shfmt
1515
FROM hadolint/hadolint:v2.10.0-alpine as hadolint
1616
FROM mstruebing/editorconfig-checker:2.4.0 as editorconfig-checker
1717
FROM yoheimuta/protolint:latest as protolint
18-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
18+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1919
FROM ghcr.io/terraform-linters/tflint:v0.35.0 as tflint
2020
FROM tenable/terrascan:latest as terrascan
2121
FROM alpine/terragrunt:latest as terragrunt

linters/repository_gitleaks/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
## @generated by .automation/build.py using descriptor files, please do not update manually ##
1111
#############################################################################################
1212
#FROM__START
13-
FROM zricethezav/gitleaks:v8.10.2 as gitleaks
13+
FROM zricethezav/gitleaks:v8.10.3 as gitleaks
1414
#FROM__END
1515

1616
##################

megalinter/descriptors/repository.megalinter-descriptor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ linters:
184184
- "gitleaks detect -c .gitleaks.toml --no-git --verbose --source ."
185185
install:
186186
dockerfile:
187-
- FROM zricethezav/gitleaks:v8.10.2 as gitleaks
187+
- FROM zricethezav/gitleaks:v8.10.3 as gitleaks
188188
- COPY --from=gitleaks /usr/bin/gitleaks /usr/bin/
189189

190190
# GOODCHECK

0 commit comments

Comments
 (0)