diff --git a/.automation/generated/flavors-stats.json b/.automation/generated/flavors-stats.json index 7747897073b..f2ccc3ca78b 100644 --- a/.automation/generated/flavors-stats.json +++ b/.automation/generated/flavors-stats.json @@ -579,6 +579,10 @@ [ "2022-02-18T21:34:22", 2452855 + ], + [ + "2022-02-20T01:47:14", + 2453622 ] ], "ci_light": [ @@ -1161,6 +1165,10 @@ [ "2022-02-18T21:34:22", 7451 + ], + [ + "2022-02-20T01:47:14", + 7487 ] ], "dart": [ @@ -1743,6 +1751,10 @@ [ "2022-02-18T21:34:22", 2287 + ], + [ + "2022-02-20T01:47:14", + 2312 ] ], "documentation": [ @@ -2325,6 +2337,10 @@ [ "2022-02-18T21:34:22", 40938 + ], + [ + "2022-02-20T01:47:14", + 41083 ] ], "dotnet": [ @@ -2907,6 +2923,10 @@ [ "2022-02-18T21:34:22", 283629 + ], + [ + "2022-02-20T01:47:14", + 284006 ] ], "go": [ @@ -3489,6 +3509,10 @@ [ "2022-02-18T21:34:22", 8152 + ], + [ + "2022-02-20T01:47:14", + 8166 ] ], "java": [ @@ -4071,6 +4095,10 @@ [ "2022-02-18T21:34:22", 59458 + ], + [ + "2022-02-20T01:47:14", + 59576 ] ], "javascript": [ @@ -4653,6 +4681,10 @@ [ "2022-02-18T21:34:22", 90582 + ], + [ + "2022-02-20T01:47:14", + 90836 ] ], "php": [ @@ -5235,6 +5267,10 @@ [ "2022-02-18T21:34:22", 4106 + ], + [ + "2022-02-20T01:47:14", + 4117 ] ], "python": [ @@ -5817,6 +5853,10 @@ [ "2022-02-18T21:34:22", 59453 + ], + [ + "2022-02-20T01:47:14", + 59779 ] ], "ruby": [ @@ -6395,6 +6435,10 @@ [ "2022-02-18T21:34:22", 1864 + ], + [ + "2022-02-20T01:47:14", + 1889 ] ], "rust": [ @@ -6973,6 +7017,10 @@ [ "2022-02-18T21:34:22", 1604 + ], + [ + "2022-02-20T01:47:14", + 1645 ] ], "salesforce": [ @@ -7555,6 +7603,10 @@ [ "2022-02-18T21:34:22", 10753 + ], + [ + "2022-02-20T01:47:14", + 10817 ] ], "scala": [ @@ -8133,6 +8185,10 @@ [ "2022-02-18T21:34:22", 1443 + ], + [ + "2022-02-20T01:47:14", + 1450 ] ], "swift": [ @@ -8711,6 +8767,10 @@ [ "2022-02-18T21:34:22", 1484 + ], + [ + "2022-02-20T01:47:14", + 1491 ] ], "terraform": [ @@ -9293,6 +9353,10 @@ [ "2022-02-18T21:34:22", 39583 + ], + [ + "2022-02-20T01:47:14", + 39786 ] ] } \ No newline at end of file diff --git a/.automation/generated/linter-helps.json b/.automation/generated/linter-helps.json index d35f3080897..5a62c347ab2 100644 --- a/.automation/generated/linter-helps.json +++ b/.automation/generated/linter-helps.json @@ -338,8 +338,8 @@ " input).", " --python-cell-magics TEXT When processing Jupyter Notebooks, add the", " given magic to the list of known python-", - " magics (prun, python, python3, capture,", - " time, timeit, pypy). Useful for formatting", + " magics (timeit, python3, prun, capture,", + " python, time, pypy). Useful for formatting", " cells with custom python magics.", " -S, --skip-string-normalization", " Don't normalize string quotes or prefixes.", @@ -1414,8 +1414,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: ['W504', 'E123', 'E126', 'W503', 'E704',", - " 'E226', 'E121', 'E24'])", + " (Default: ['E704', 'W504', 'E123', 'E121', 'E126',", + " 'E226', 'E24', 'W503'])", " --extend-ignore errors", " Comma-separated list of errors and warnings to add to", " the list of ignored ones. For example, ``--extend-", diff --git a/.automation/generated/linter-versions.json b/.automation/generated/linter-versions.json index 3de81ad0e7b..794a0c71c80 100644 --- a/.automation/generated/linter-versions.json +++ b/.automation/generated/linter-versions.json @@ -12,7 +12,7 @@ "clippy": "0.1.58", "clj-kondo": "2022.01.15", "coffeelint": "5.2.4", - "cpplint": "1.5.5", + "cpplint": "1.6.0", "cspell": "5.18.5", "dartanalyzer": "0.0.0", "dockerfilelint": "1.8.0", diff --git a/.trivyignore b/.trivyignore index 1a5dd008ba6..1beb8f5b879 100644 --- a/.trivyignore +++ b/.trivyignore @@ -35,6 +35,7 @@ CVE-2021-37701 CVE-2021-37712 CVE-2021-37713 CVE-2021-37714 +CVE-2021-3538 CVE-2021-3807 CVE-2021-3918 CVE-2021-41092 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3df652440a3..6f394a39f88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), Note: Can be used with `megalinter/megalinter@beta` in your GitHub Action mega-linter.yml file, or with `megalinter/megalinter:beta` docker image - Linter versions upgrades + - [cpplint](https://github.com/cpplint/cpplint) from 1.5.5 to **1.6.0** on 2022-02-20 ## [v5.8.0] - 2022-02-18 diff --git a/docs/all_linters.md b/docs/all_linters.md index d60e82eca6f..a9039eaf174 100644 --- a/docs/all_linters.md +++ b/docs/all_linters.md @@ -18,7 +18,7 @@ | [**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} | | [**clj-kondo**](https://github.com/borkdude/clj-kondo){target=_blank} | 2022.01.15 | | [CLOJURE](descriptors/clojure_clj_kondo.md) | :heart: | [MegaLinter reference](https://github.com/borkdude/clj-kondo/blob/master/doc/ci-integration.md#github){target=_blank} | | [**coffeelint**](https://github.com/clutchski/coffeelint){target=_blank} | 5.2.4 | [Other](licenses/coffeelint.md) | [COFFEE](descriptors/coffee_coffeelint.md) | :white_circle: | [Repository](https://github.com/clutchski/coffeelint){target=_blank} | -| [**cpplint**](https://github.com/cpplint/cpplint){target=_blank} | 1.5.5 | | [C](descriptors/c_cpplint.md)
[CPP](descriptors/cpp_cpplint.md) | :white_circle: | [Web Site](https://github.com/cpplint/cpplint){target=_blank} | +| [**cpplint**](https://github.com/cpplint/cpplint){target=_blank} | 1.6.0 | | [C](descriptors/c_cpplint.md)
[CPP](descriptors/cpp_cpplint.md) | :white_circle: | [Web Site](https://github.com/cpplint/cpplint){target=_blank} | | [**cspell**](https://github.com/streetsidesoftware/cspell){target=_blank} | 5.18.5 | [MIT](licenses/cspell.md) | [SPELL](descriptors/spell_cspell.md) | :heart: | [MegaLinter reference](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell#mega-linter){target=_blank} | | [**dartanalyzer**](https://github.com/dart-lang/sdk){target=_blank} | N/A | [BSD-3-Clause](licenses/dartanalyzer.md) | [DART](descriptors/dart_dartanalyzer.md) | :no_entry_sign: | [Repository](https://github.com/dart-lang/sdk){target=_blank} | | [**dockerfilelint**](https://github.com/replicatedhq/dockerfilelint){target=_blank} | 1.8.0 | | [DOCKERFILE](descriptors/dockerfile_dockerfilelint.md) | :white_circle: | [Web Site](https://github.com/replicatedhq/dockerfilelint){target=_blank} | diff --git a/docs/descriptors/c_cpplint.md b/docs/descriptors/c_cpplint.md index b473a84d573..f9b02ab44c7 100644 --- a/docs/descriptors/c_cpplint.md +++ b/docs/descriptors/c_cpplint.md @@ -4,7 +4,7 @@ ## cpplint documentation -- Version in MegaLinter: **1.5.5** +- Version in MegaLinter: **1.6.0** - Visit [Official Web Site](https://github.com/cpplint/cpplint#readme){target=_blank} - See [Index of problems detected by cpplint](https://google.github.io/styleguide/cppguide.html){target=_blank} diff --git a/docs/descriptors/cpp_cpplint.md b/docs/descriptors/cpp_cpplint.md index d0656b21e25..8057a25e263 100644 --- a/docs/descriptors/cpp_cpplint.md +++ b/docs/descriptors/cpp_cpplint.md @@ -4,7 +4,7 @@ ## cpplint documentation -- Version in MegaLinter: **1.5.5** +- Version in MegaLinter: **1.6.0** - Visit [Official Web Site](https://github.com/cpplint/cpplint#readme){target=_blank} - See [Index of problems detected by cpplint](https://google.github.io/styleguide/cppguide.html){target=_blank} diff --git a/docs/descriptors/python_black.md b/docs/descriptors/python_black.md index b3625c9cf53..3751c78252f 100644 --- a/docs/descriptors/python_black.md +++ b/docs/descriptors/python_black.md @@ -112,8 +112,8 @@ Options: input). --python-cell-magics TEXT When processing Jupyter Notebooks, add the given magic to the list of known python- - magics (prun, python, python3, capture, - time, timeit, pypy). Useful for formatting + magics (timeit, python3, prun, capture, + python, time, pypy). Useful for formatting cells with custom python magics. -S, --skip-string-normalization Don't normalize string quotes or prefixes. diff --git a/docs/descriptors/python_flake8.md b/docs/descriptors/python_flake8.md index c0c0d50574a..6b836ecef35 100644 --- a/docs/descriptors/python_flake8.md +++ b/docs/descriptors/python_flake8.md @@ -124,8 +124,8 @@ optional arguments: 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: ['W504', 'E123', 'E126', 'W503', 'E704', - 'E226', 'E121', 'E24']) + (Default: ['E704', 'W504', 'E123', 'E121', 'E126', + 'E226', 'E24', 'W503']) --extend-ignore errors Comma-separated list of errors and warnings to add to the list of ignored ones. For example, ``--extend- diff --git a/flavors/ci_light/action.yml b/flavors/ci_light/action.yml index 566d544ac83..ab9dfbb8a11 100644 --- a/flavors/ci_light/action.yml +++ b/flavors/ci_light/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-ci_light:v5.8.0" + image: "docker://megalinter/megalinter-ci_light:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/dart/action.yml b/flavors/dart/action.yml index 5e695e6292a..53356ae875c 100644 --- a/flavors/dart/action.yml +++ b/flavors/dart/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-dart:v5.8.0" + image: "docker://megalinter/megalinter-dart:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/documentation/action.yml b/flavors/documentation/action.yml index f235424d86f..ae90e36ca1b 100644 --- a/flavors/documentation/action.yml +++ b/flavors/documentation/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-documentation:v5.8.0" + image: "docker://megalinter/megalinter-documentation:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/dotnet/action.yml b/flavors/dotnet/action.yml index 1fc1e1a52bd..e09b2825d2d 100644 --- a/flavors/dotnet/action.yml +++ b/flavors/dotnet/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-dotnet:v5.8.0" + image: "docker://megalinter/megalinter-dotnet:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/go/action.yml b/flavors/go/action.yml index b6d7278d75f..7c73a43f705 100644 --- a/flavors/go/action.yml +++ b/flavors/go/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-go:v5.8.0" + image: "docker://megalinter/megalinter-go:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/java/action.yml b/flavors/java/action.yml index 68e8e4ba9b9..235bbdc2859 100644 --- a/flavors/java/action.yml +++ b/flavors/java/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-java:v5.8.0" + image: "docker://megalinter/megalinter-java:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/javascript/action.yml b/flavors/javascript/action.yml index 2531d5b79e2..21f313d3a63 100644 --- a/flavors/javascript/action.yml +++ b/flavors/javascript/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-javascript:v5.8.0" + image: "docker://megalinter/megalinter-javascript:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/php/action.yml b/flavors/php/action.yml index e55879d8232..a22a8b34bb6 100644 --- a/flavors/php/action.yml +++ b/flavors/php/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-php:v5.8.0" + image: "docker://megalinter/megalinter-php:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/python/action.yml b/flavors/python/action.yml index 17603035c8f..d5bfdfaf143 100644 --- a/flavors/python/action.yml +++ b/flavors/python/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-python:v5.8.0" + image: "docker://megalinter/megalinter-python:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/ruby/action.yml b/flavors/ruby/action.yml index 44a18598467..f4cbc4ad6df 100644 --- a/flavors/ruby/action.yml +++ b/flavors/ruby/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-ruby:v5.8.0" + image: "docker://megalinter/megalinter-ruby:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/rust/action.yml b/flavors/rust/action.yml index ce47b21f862..bbfc5f91a9e 100644 --- a/flavors/rust/action.yml +++ b/flavors/rust/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-rust:v5.8.0" + image: "docker://megalinter/megalinter-rust:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/salesforce/action.yml b/flavors/salesforce/action.yml index a885a7ecd59..961e8e91a21 100644 --- a/flavors/salesforce/action.yml +++ b/flavors/salesforce/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-salesforce:v5.8.0" + image: "docker://megalinter/megalinter-salesforce:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/scala/action.yml b/flavors/scala/action.yml index bc090d826d8..7a85eeed9fa 100644 --- a/flavors/scala/action.yml +++ b/flavors/scala/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-scala:v5.8.0" + image: "docker://megalinter/megalinter-scala:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/swift/action.yml b/flavors/swift/action.yml index f71df16d06d..40a5113f630 100644 --- a/flavors/swift/action.yml +++ b/flavors/swift/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-swift:v5.8.0" + image: "docker://megalinter/megalinter-swift:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw" diff --git a/flavors/terraform/action.yml b/flavors/terraform/action.yml index aac955136ff..ec73254fa7a 100644 --- a/flavors/terraform/action.yml +++ b/flavors/terraform/action.yml @@ -7,7 +7,7 @@ outputs: description: "0 if no source file has been updated, 1 if source files has been updated" runs: using: "docker" - image: "docker://megalinter/megalinter-terraform:v5.8.0" + image: "docker://megalinter/megalinter-terraform:v5" args: - "-v" - "/var/run/docker.sock:/var/run/docker.sock:rw"