Skip to content

Commit

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

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <[email protected]>
  • Loading branch information
nvuillam and nvuillam authored Sep 21, 2024
1 parent 1d2110e commit 1d012fb
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 33 deletions.
12 changes: 6 additions & 6 deletions .automation/generated/linter-helps.json

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

2 changes: 1 addition & 1 deletion .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"shfmt": "3.9.0",
"snakefmt": "0.10.2",
"snakemake": "8.20.4",
"spectral": "6.13.0",
"spectral": "6.13.1",
"sql-lint": "1.0.0",
"sqlfluff": "3.2.0",
"standard": "17.1.2",
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [snakemake](https://snakemake.readthedocs.io/en/stable/) from 8.20.3 to **8.20.4** on 2024-09-20
- [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) from 8.14.2 to **8.14.4** on 2024-09-20
- [sqlfluff](https://www.sqlfluff.com/) from 3.1.1 to **3.2.0** on 2024-09-20
- [spectral](https://docs.stoplight.io/docs/spectral/674b27b261c3c-overview) from 6.13.0 to **6.13.1** on 2024-09-21
<!-- linter-versions-end -->

## [v8.0.0] - 2024-08-19
Expand Down
2 changes: 1 addition & 1 deletion docs/all_linters.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
| [**shfmt**](https://github.com/mvdan/sh){target=_blank} | 3.9.0 | [BSD-3-Clause](licenses/shfmt.md) | [![GitHub stars](https://img.shields.io/github/stars/mvdan/sh?cacheSeconds=3600)](https://github.com/mvdan/sh){target=_blank} | [BASH](descriptors/bash_shfmt.md) | :no_entry_sign: | [Repository](https://github.com/mvdan/sh){target=_blank} |
| [**snakefmt**](https://github.com/snakemake/snakefmt){target=_blank} | 0.10.2 | [MIT](licenses/snakefmt.md) | [![GitHub stars](https://img.shields.io/github/stars/snakemake/snakefmt?cacheSeconds=3600)](https://github.com/snakemake/snakefmt){target=_blank} | [SNAKEMAKE](descriptors/snakemake_snakefmt.md) | :white_circle: | [Repository](https://github.com/snakemake/snakefmt){target=_blank} |
| [**snakemake**](https://github.com/snakemake/snakemake){target=_blank} | 8.20.4 | [MIT](licenses/snakemake.md) | [![GitHub stars](https://img.shields.io/github/stars/snakemake/snakemake?cacheSeconds=3600)](https://github.com/snakemake/snakemake){target=_blank} | [SNAKEMAKE](descriptors/snakemake_snakemake.md) | :white_circle: | [Repository](https://github.com/snakemake/snakemake){target=_blank} |
| [**spectral**](https://github.com/stoplightio/spectral){target=_blank} | 6.13.0 | [Apache-2.0](licenses/spectral.md) | [![GitHub stars](https://img.shields.io/github/stars/stoplightio/spectral?cacheSeconds=3600)](https://github.com/stoplightio/spectral){target=_blank} | [API](descriptors/api_spectral.md) | :white_circle: | [Repository](https://github.com/stoplightio/spectral){target=_blank} |
| [**spectral**](https://github.com/stoplightio/spectral){target=_blank} | 6.13.1 | [Apache-2.0](licenses/spectral.md) | [![GitHub stars](https://img.shields.io/github/stars/stoplightio/spectral?cacheSeconds=3600)](https://github.com/stoplightio/spectral){target=_blank} | [API](descriptors/api_spectral.md) | :white_circle: | [Repository](https://github.com/stoplightio/spectral){target=_blank} |
| [**sqlfluff**](https://github.com/sqlfluff/sqlfluff){target=_blank} | 3.2.0 | [MIT](licenses/sqlfluff.md) | [![GitHub stars](https://img.shields.io/github/stars/sqlfluff/sqlfluff?cacheSeconds=3600)](https://github.com/sqlfluff/sqlfluff){target=_blank} | [SQL](descriptors/sql_sqlfluff.md) | :white_circle: | [Repository](https://github.com/sqlfluff/sqlfluff){target=_blank} |
| [**standard**](https://github.com/standard/standard){target=_blank} | 17.1.2 | [MIT](licenses/standard.md) | [![GitHub stars](https://img.shields.io/github/stars/standard/standard?cacheSeconds=3600)](https://github.com/standard/standard){target=_blank} | [JAVASCRIPT](descriptors/javascript_standard.md) | :white_circle: | [Repository](https://github.com/standard/standard){target=_blank} |
| [**stylelint**](https://github.com/stylelint/stylelint){target=_blank} | 16.9.0 | [MIT](licenses/stylelint.md) | [![GitHub stars](https://img.shields.io/github/stars/stylelint/stylelint?cacheSeconds=3600)](https://github.com/stylelint/stylelint){target=_blank} | [CSS](descriptors/css_stylelint.md) | :white_circle: | [Repository](https://github.com/stylelint/stylelint){target=_blank} |
Expand Down
2 changes: 1 addition & 1 deletion docs/descriptors/api_spectral.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: How to use spectral (configure, ignore files, ignore errors, help &

## spectral documentation

- Version in MegaLinter: **6.13.0**
- Version in MegaLinter: **6.13.1**
- Visit [Official Web Site](https://docs.stoplight.io/docs/spectral/674b27b261c3c-overview){target=_blank}
- See [How to configure spectral rules](https://docs.stoplight.io/docs/spectral/9ffa04e052cc1-spectral-cli#using-a-ruleset-file){target=_blank}
- If custom `.spectral.yaml` config file isn't found, [.spectral.yaml](https://github.com/oxsecurity/megalinter/tree/main/TEMPLATES/.spectral.yaml){target=_blank} will be used
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/salesforce_sfdx_scanner_aura.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ sf scanner:run
### Help content

```shell
(node:1941) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1939) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Scan a codebase with all the rules in the registry, or use parameters to filter the rules based on rulename, category, or ruleset.

Expand Down Expand Up @@ -145,7 +145,7 @@ GLOBAL FLAGS
COMMANDS
scanner run dfa Scan codebase with all DFA rules by default.

(node:1953) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:1951) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Warning: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA
name languages categories rulesets [dep] engine is dfa is pilot
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/salesforce_sfdx_scanner_lwc.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ sf scanner:run
### Help content

```shell
(node:2133) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2129) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Scan a codebase with all the rules in the registry, or use parameters to filter the rules based on rulename, category, or ruleset.

Expand Down Expand Up @@ -145,7 +145,7 @@ GLOBAL FLAGS
COMMANDS
scanner run dfa Scan codebase with all DFA rules by default.

(node:2145) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(node:2141) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Warning: We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at https://research.net/r/SalesforceCA
name languages categories rulesets [dep] engine is dfa is pilot
Expand Down
4 changes: 2 additions & 2 deletions docs/descriptors/snakemake_snakemake.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ usage: snakemake [-h] [--dry-run] [--profile PROFILE]
[--d3dag] [--summary] [--detailed-summary] [--archive FILE]
[--cleanup-metadata FILE [FILE ...]] [--cleanup-shadow]
[--skip-script-cleanup] [--unlock]
[--list-changes {code,input,params}] [--list-input-changes]
[--list-changes {input,params,code}] [--list-input-changes]
[--list-params-changes] [--list-untracked]
[--delete-all-output | --delete-temp-output]
[--keep-incomplete] [--drop-metadata] [--version]
Expand Down Expand Up @@ -634,7 +634,7 @@ UTILITIES:
(default: False)
--unlock Remove a lock on the working directory. (default:
False)
--list-changes {code,input,params}, --lc {code,input,params}
--list-changes {input,params,code}, --lc {input,params,code}
List all output files for which the given items (code,
input, params) have changed since creation.
--list-input-changes, --li
Expand Down
Loading

0 comments on commit 1d012fb

Please sign in to comment.