Skip to content

Commit

Permalink
[automation] Auto-update linters version, help and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Jan 31, 2022
1 parent ac0c045 commit d6b810a
Show file tree
Hide file tree
Showing 28 changed files with 12,966 additions and 12,898 deletions.
64 changes: 64 additions & 0 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,10 @@
[
"2022-01-30T17:15:32",
2431807
],
[
"2022-01-31T07:01:52",
2432301
]
],
"ci_light": [
Expand Down Expand Up @@ -1057,6 +1061,10 @@
[
"2022-01-30T17:15:32",
6790
],
[
"2022-01-31T07:01:52",
6828
]
],
"dart": [
Expand Down Expand Up @@ -1587,6 +1595,10 @@
[
"2022-01-30T17:15:32",
2045
],
[
"2022-01-31T07:01:52",
2065
]
],
"documentation": [
Expand Down Expand Up @@ -2117,6 +2129,10 @@
[
"2022-01-30T17:15:32",
34865
],
[
"2022-01-31T07:01:52",
34969
]
],
"dotnet": [
Expand Down Expand Up @@ -2647,6 +2663,10 @@
[
"2022-01-30T17:15:32",
273835
],
[
"2022-01-31T07:01:52",
274133
]
],
"go": [
Expand Down Expand Up @@ -3177,6 +3197,10 @@
[
"2022-01-30T17:15:32",
7495
],
[
"2022-01-31T07:01:52",
7507
]
],
"java": [
Expand Down Expand Up @@ -3707,6 +3731,10 @@
[
"2022-01-30T17:15:32",
54048
],
[
"2022-01-31T07:01:52",
54071
]
],
"javascript": [
Expand Down Expand Up @@ -4237,6 +4265,10 @@
[
"2022-01-30T17:15:32",
80594
],
[
"2022-01-31T07:01:52",
80820
]
],
"php": [
Expand Down Expand Up @@ -4767,6 +4799,10 @@
[
"2022-01-30T17:15:32",
3848
],
[
"2022-01-31T07:01:52",
3873
]
],
"python": [
Expand Down Expand Up @@ -5297,6 +5333,10 @@
[
"2022-01-30T17:15:32",
51375
],
[
"2022-01-31T07:01:52",
51607
]
],
"ruby": [
Expand Down Expand Up @@ -5823,6 +5863,10 @@
[
"2022-01-30T17:15:32",
1800
],
[
"2022-01-31T07:01:52",
1813
]
],
"rust": [
Expand Down Expand Up @@ -6349,6 +6393,10 @@
[
"2022-01-30T17:15:32",
1534
],
[
"2022-01-31T07:01:52",
1543
]
],
"salesforce": [
Expand Down Expand Up @@ -6879,6 +6927,10 @@
[
"2022-01-30T17:15:32",
10142
],
[
"2022-01-31T07:01:52",
10164
]
],
"scala": [
Expand Down Expand Up @@ -7405,6 +7457,10 @@
[
"2022-01-30T17:15:32",
1382
],
[
"2022-01-31T07:01:52",
1392
]
],
"swift": [
Expand Down Expand Up @@ -7931,6 +7987,10 @@
[
"2022-01-30T17:15:32",
1423
],
[
"2022-01-31T07:01:52",
1433
]
],
"terraform": [
Expand Down Expand Up @@ -8461,6 +8521,10 @@
[
"2022-01-30T17:15:32",
34705
],
[
"2022-01-31T07:01:52",
34808
]
]
}
11 changes: 6 additions & 5 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -1397,8 +1397,8 @@
" of opening bracket's line.",
" --ignore errors Comma-separated list of errors and warnings to ignore",
" (or skip). For example, ``--ignore=E4,E51,W234``.",
" (Default: ['E226', 'E123', 'E126', 'E704', 'W504',",
" 'W503', 'E24', 'E121'])",
" (Default: ['E24', 'W503', 'E121', 'E704', 'E123',",
" 'E126', 'E226', 'W504'])",
" --extend-ignore errors",
" Comma-separated list of errors and warnings to add to",
" the list of ignored ones. For example, ``--extend-",
Expand Down Expand Up @@ -2422,9 +2422,10 @@
"markdown-table-formatter": [
"markdown-table-formatter [options]",
"",
" -c, --check Check only (exits 1 if wrongly formatted markdown tables are found)",
" -h, --help Show help",
" -v, --version Show version"
" -c, --check Check only (exits 1 if wrongly formatted markdown tables are found)",
" -p, --columnpadding Int Override table columns padding number of spaces",
" -h, --help Show help",
" -v, --version Show version"
],
"markdownlint": [
"Usage: markdownlint [options] <files|directories|globs>",
Expand Down
4 changes: 2 additions & 2 deletions .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bash-exec": "5.1.0",
"black": "21.12",
"cfn-lint": "0.57.0",
"checkov": "2.0.775",
"checkov": "2.0.777",
"checkstyle": "9.3",
"chktex": "1.7.6",
"clippy": "0.1.58",
Expand Down Expand Up @@ -37,7 +37,7 @@
"lintr": "0.0.0",
"luacheck": "0.25.0",
"markdown-link-check": "3.9.3",
"markdown-table-formatter": "1.2.0",
"markdown-table-formatter": "1.3.0",
"markdownlint": "0.30.0",
"misspell": "0.3.4",
"mypy": "0.931",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-l
- stylelint

- Linter versions upgrades
- [markdown-table-formatter](https://www.npmjs.com/package/markdown-table-formatter) from 1.2.0 to **1.3.0** on 2022-01-31
- [checkov](https://www.checkov.io/) from 2.0.775 to **2.0.777** on 2022-01-31
<!-- linter-versions-end -->

## [v5.7.0] - 2022-01-30
Expand Down
6 changes: 3 additions & 3 deletions docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
| [**bash-exec**](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} | 5.1.0 | <!-- --> | [BASH](descriptors/bash_bash_exec.md) | <!-- --> | [Web Site](https://tiswww.case.edu/php/chet/bash/bashtop.html){target=_blank} |
| [**black**](https://github.com/psf/black){target=_blank} | 21.12 | [MIT](licenses/black.md) | [PYTHON](descriptors/python_black.md) | :white_circle: | [Repository](https://github.com/psf/black){target=_blank} |
| [**cfn-lint**](https://github.com/martysweet/cfn-lint){target=_blank} | 0.57.0 | <!-- --> | [CLOUDFORMATION](descriptors/cloudformation_cfn_lint.md) | :white_circle: | [Web Site](https://github.com/martysweet/cfn-lint){target=_blank} |
| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.775 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkov**](https://github.com/bridgecrewio/checkov){target=_blank} | 2.0.777 | [Apache-2.0](licenses/checkov.md) | [TERRAFORM](descriptors/terraform_checkov.md) | :no_entry_sign: | [Repository](https://github.com/bridgecrewio/checkov){target=_blank} |
| [**checkstyle**](https://github.com/checkstyle/checkstyle){target=_blank} | 9.3 | [Other](licenses/checkstyle.md) | [JAVA](descriptors/java_checkstyle.md) | :heart: | [MegaLinter reference](https://checkstyle.sourceforge.io/index.html#Related_Tools_Active_Tools){target=_blank} |
| [**chktex**](https://www.nongnu.org/chktex){target=_blank} | 1.7.6 | <!-- --> | [LATEX](descriptors/latex_chktex.md) | :white_circle: | [Web Site](https://www.nongnu.org/chktex){target=_blank} |
| [**clippy**](https://github.com/rust-lang/rust-clippy){target=_blank} | 0.1.58 | <!-- --> | [RUST](descriptors/rust_clippy.md) | :white_circle: | [Web Site](https://github.com/rust-lang/rust-clippy){target=_blank} |
Expand Down Expand Up @@ -43,10 +43,10 @@
| [**lintr**](https://github.com/jimhester/lintr){target=_blank} | N/A | <!-- --> | [R](descriptors/r_lintr.md) | :white_circle: | [Web Site](https://github.com/jimhester/lintr){target=_blank} |
| [**luacheck**](https://github.com/luarocks/luacheck){target=_blank} | 0.25.0 | [MIT](licenses/luacheck.md) | [LUA](descriptors/lua_luacheck.md) | :no_entry_sign: | [Repository](https://github.com/luarocks/luacheck){target=_blank} |
| [**markdown-link-check**](https://github.com/tcort/markdown-link-check){target=_blank} | 3.9.3 | <!-- --> | [MARKDOWN](descriptors/markdown_markdown_link_check.md) | :heart: | [MegaLinter reference](https://github.com/tcort/markdown-link-check#run-in-other-tools){target=_blank} |
| [**markdown-table-formatter**](https://github.com/nvuillam/markdown-table-formatter){target=_blank} | 1.2.0 | [MIT](licenses/markdown-table-formatter.md) | [MARKDOWN](descriptors/markdown_markdown_table_formatter.md) | :white_circle: | [Repository](https://github.com/nvuillam/markdown-table-formatter){target=_blank} |
| [**markdown-table-formatter**](https://github.com/nvuillam/markdown-table-formatter){target=_blank} | 1.3.0 | [MIT](licenses/markdown-table-formatter.md) | [MARKDOWN](descriptors/markdown_markdown_table_formatter.md) | :white_circle: | [Repository](https://github.com/nvuillam/markdown-table-formatter){target=_blank} |
| [**markdownlint**](https://github.com/DavidAnson/markdownlint){target=_blank} | 0.30.0 | <!-- --> | [MARKDOWN](descriptors/markdown_markdownlint.md) | :white_circle: | [Web Site](https://github.com/DavidAnson/markdownlint){target=_blank} |
| [**misspell**](https://github.com/client9/misspell){target=_blank} | 0.3.4 | <!-- --> | [SPELL](descriptors/spell_misspell.md) | :white_circle: | [Web Site](https://github.com/client9/misspell){target=_blank} |
| [**mypy**](https://github.com/python/mypy){target=_blank} | 0.931 | [Other](licenses/mypy.md) | [PYTHON](descriptors/python_mypy.md) | :hammer_and_wrench: | [Pull Request](https://github.com/python/mypy/pull/12100){target=_blank} |
| [**mypy**](https://github.com/python/mypy){target=_blank} | 0.931 | [Other](licenses/mypy.md) | [PYTHON](descriptors/python_mypy.md) | <!-- --> | [Repository](https://github.com/python/mypy){target=_blank} |
| [**npm-groovy-lint**](https://github.com/nvuillam/npm-groovy-lint){target=_blank} | 9.4.1 | [GPL-3.0](licenses/npm-groovy-lint.md) | [GROOVY](descriptors/groovy_npm_groovy_lint.md) | :heart: | [MegaLinter reference](https://nvuillam.github.io/npm-groovy-lint/#mega-linter){target=_blank} |
| [**perlcritic**](https://github.com/Perl-Critic/Perl-Critic){target=_blank} | 1.140 | [Other](licenses/perlcritic.md) | [PERL](descriptors/perl_perlcritic.md) | :white_circle: | [Repository](https://github.com/Perl-Critic/Perl-Critic){target=_blank} |
| [**php**](https://github.com/php/php-src){target=_blank} | 7.4.26 | [Other](licenses/php.md) | [PHP](descriptors/php_php.md) | <!-- --> | [Repository](https://github.com/php/php-src){target=_blank} |
Expand Down
8 changes: 4 additions & 4 deletions docs/descriptors/css_stylelint.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
| CSS_STYLELINT_ARGUMENTS | User custom arguments to add in linter CLI call<br/>Ex: `-s --foo "bar"` | |
| CSS_STYLELINT_FILTER_REGEX_INCLUDE | Custom regex including filter<br/>Ex: `(src\|lib)` | Include every file |
| CSS_STYLELINT_FILTER_REGEX_EXCLUDE | Custom regex excluding filter<br/>Ex: `(test\|examples)` | Exclude no file |
| CSS_STYLELINT_CLI_LINT_MODE | Override default CLI lint mode<br/>- `file`: Calls the linter for each file<br/>- `list_of_files`: Call the linter with the list of files as argument<br/>- `project`: Call the linter from the root of the project | `file` |
| CSS_STYLELINT_CLI_LINT_MODE | Override default CLI lint mode<br/>- `file`: Calls the linter for each file<br/>- `list_of_files`: Call the linter with the list of files as argument<br/>- `project`: Call the linter from the root of the project | `list_of_files` |
| CSS_STYLELINT_FILE_EXTENSIONS | Allowed file extensions. `"*"` matches any extension, `""` matches empty extension. Empty list excludes all files<br/>Ex: `[".py", ""]` | `[".css", ".scss", ".saas"]` |
| CSS_STYLELINT_FILE_NAMES_REGEX | File name regex filters. Regular expression list for filtering files by their base names using regex full match. Empty list includes all files<br/>Ex: `["Dockerfile(-.+)?", "Jenkinsfile"]` | Include every file |
| CSS_STYLELINT_PRE_COMMANDS | List of bash commands to run before the linter | None |
Expand Down Expand Up @@ -85,7 +85,7 @@ This linter is available in the following flavours
<!-- /* cSpell:disable */ -->
### How the linting is performed

- stylelint is called one time by identified file
- stylelint is called once with the list of files as arguments

### Example calls

Expand All @@ -94,11 +94,11 @@ stylelint myfile.css
```

```shell
stylelint --config .stylelintrc.json myfile.css
stylelint --config .stylelintrc.json myfile.css myfile2.css myfile3.css
```

```shell
stylelint --fix --config .stylelintrc.json myfile.css
stylelint --fix --config .stylelintrc.json myfile.css myfile2.css myfile3.css
```


Expand Down
Loading

0 comments on commit d6b810a

Please sign in to comment.