Skip to content

Commit

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

* [MegaLinter] Apply linters fixes

* Remove swiftlint deprecated --path argument

* Fix docker issues

* build

* Remove deprecated linters

  - CSS_SCSSLINT: [Project discontinued and advising to use stylelint](https://github.com/sds/scss-lint#notice-consider-other-tools-before-adopting-scss-lint)
  - OPENAPI_SPECTRAL: Replaced by API_SPECTRAL (same linter but more formats handled)

* Remove sqllint & dependencies

---------

Co-authored-by: nvuillam <[email protected]>
  • Loading branch information
nvuillam and nvuillam authored Aug 11, 2024
1 parent 0da8fce commit ff2e4c0
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 1,215 deletions.
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"Programmez",
"QIDAQAB",
"RQASWB",
"SCSSLINT",
"Stéphane",
"Ywarn",
"abefhkmnptuvx",
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy-BETA-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ jobs:
"csharp_csharpier",
"csharp_roslynator",
"css_stylelint",
"css_scss_lint",
"dart_dartanalyzer",
"dockerfile_hadolint",
"editorconfig_editorconfig_checker",
Expand Down Expand Up @@ -126,7 +125,6 @@ jobs:
"markdown_markdownlint",
"markdown_markdown_link_check",
"markdown_markdown_table_formatter",
"openapi_spectral",
"perl_perlcritic",
"php_phpcs",
"php_phpstan",
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy-DEV-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
"csharp_csharpier",
"csharp_roslynator",
"css_stylelint",
"css_scss_lint",
"dart_dartanalyzer",
"dockerfile_hadolint",
"editorconfig_editorconfig_checker",
Expand Down Expand Up @@ -97,7 +96,6 @@ jobs:
"markdown_markdownlint",
"markdown_markdown_link_check",
"markdown_markdown_table_formatter",
"openapi_spectral",
"perl_perlcritic",
"php_phpcs",
"php_phpstan",
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy-RELEASE-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ jobs:
"csharp_csharpier",
"csharp_roslynator",
"css_stylelint",
"css_scss_lint",
"dart_dartanalyzer",
"dockerfile_hadolint",
"editorconfig_editorconfig_checker",
Expand Down Expand Up @@ -101,7 +100,6 @@ jobs:
"markdown_markdownlint",
"markdown_markdown_link_check",
"markdown_markdown_table_formatter",
"openapi_spectral",
"perl_perlcritic",
"php_phpcs",
"php_phpstan",
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l

- New linters

- Removed linters
- CSS_SCSSLINT: [Project discontinued and advising to use stylelint](https://github.com/sds/scss-lint#notice-consider-other-tools-before-adopting-scss-lint)
- OPENAPI_SPECTRAL: Replaced by [API_SPECTRAL](https://megalinter.io/latest/descriptors/api_spectral/) (same linter but more formats handled)
- SQL_SQL_LINT: [Project no longer maintained](https://github.com/joereynolds/sql-lint/issues/262)

- Core
- Allow to override CLI_LINT_MODE when defined as project
- Allow to use absolute paths for LINTER_RULES_PATH
Expand Down
135 changes: 0 additions & 135 deletions docs/descriptors/css_scss_lint.md

This file was deleted.

142 changes: 0 additions & 142 deletions docs/descriptors/openapi_spectral.md

This file was deleted.

112 changes: 0 additions & 112 deletions docs/descriptors/sql_sql_lint.md

This file was deleted.

Loading

0 comments on commit ff2e4c0

Please sign in to comment.