Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @babel/eslint-parser as dependency for eslint #1045

Merged
merged 1 commit into from
Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions .automation/generated/flavors-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@
1693380
],
[
"2021-11-29T01:33:55",
1760712
"2021-11-29T19:53:22",
1783483
]
],
"ci_light": [
Expand Down Expand Up @@ -735,8 +735,8 @@
5246
],
[
"2021-11-29T01:33:55",
5256
"2021-11-29T19:53:22",
5288
]
],
"dart": [
Expand Down Expand Up @@ -1105,8 +1105,8 @@
1561
],
[
"2021-11-29T01:33:55",
1569
"2021-11-29T19:53:22",
1573
]
],
"documentation": [
Expand Down Expand Up @@ -1475,8 +1475,8 @@
22150
],
[
"2021-11-29T01:33:55",
22169
"2021-11-29T19:53:22",
22344
]
],
"dotnet": [
Expand Down Expand Up @@ -1845,8 +1845,8 @@
253287
],
[
"2021-11-29T01:33:55",
253886
"2021-11-29T19:53:22",
254166
]
],
"go": [
Expand Down Expand Up @@ -2215,8 +2215,8 @@
5523
],
[
"2021-11-29T01:33:55",
5525
"2021-11-29T19:53:22",
5558
]
],
"java": [
Expand Down Expand Up @@ -2585,8 +2585,8 @@
40410
],
[
"2021-11-29T01:33:55",
40454
"2021-11-29T19:53:22",
40747
]
],
"javascript": [
Expand Down Expand Up @@ -2955,8 +2955,8 @@
56567
],
[
"2021-11-29T01:33:55",
56768
"2021-11-29T19:53:22",
56985
]
],
"php": [
Expand Down Expand Up @@ -3325,8 +3325,8 @@
2465
],
[
"2021-11-29T01:33:55",
2473
"2021-11-29T19:53:22",
2486
]
],
"python": [
Expand Down Expand Up @@ -3695,8 +3695,8 @@
30957
],
[
"2021-11-29T01:33:55",
31180
"2021-11-29T19:53:22",
31359
]
],
"ruby": [
Expand Down Expand Up @@ -4061,8 +4061,8 @@
1539
],
[
"2021-11-29T01:33:55",
1541
"2021-11-29T19:53:22",
1543
]
],
"rust": [
Expand Down Expand Up @@ -4427,8 +4427,8 @@
1282
],
[
"2021-11-29T01:33:55",
1284
"2021-11-29T19:53:22",
1286
]
],
"salesforce": [
Expand Down Expand Up @@ -4797,8 +4797,8 @@
8500
],
[
"2021-11-29T01:33:55",
8532
"2021-11-29T19:53:22",
8547
]
],
"scala": [
Expand Down Expand Up @@ -5163,8 +5163,8 @@
1135
],
[
"2021-11-29T01:33:55",
1137
"2021-11-29T19:53:22",
1139
]
],
"swift": [
Expand Down Expand Up @@ -5529,8 +5529,8 @@
1038
],
[
"2021-11-29T01:33:55",
1040
"2021-11-29T19:53:22",
1042
]
],
"terraform": [
Expand Down Expand Up @@ -5899,8 +5899,8 @@
23737
],
[
"2021-11-29T01:33:55",
23913
"2021-11-29T19:53:22",
24062
]
]
}
5 changes: 5 additions & 0 deletions .automation/generated/linter-links-previews.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,11 @@
"image": "https://avatars2.githubusercontent.com/u/997547?s=400&v=4",
"title": "squizlabs/PHP_CodeSniffer"
},
"phplint": {
"description": ":bug: A tool that can speed up linting of php files by running several lint processes at once. - GitHub - overtrue/phplint: A tool that can speed up linting of php files by running several lint pr...",
"image": "https://opengraph.githubassets.com/d631c8888ed10dc0fd444873f2c959fbff09fabde3d9413887e24f02f51f366c/overtrue/phplint",
"title": "GitHub - overtrue/phplint: A tool that can speed up linting of php files by running several lint processes at once."
},
"phpstan": {
"description": "PHP Static Analysis Tool - discover bugs in your code without running it! - phpstan/phpstan",
"image": "https://avatars3.githubusercontent.com/u/16435710?s=400&v=4",
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ RUN npm install --no-cache --ignore-scripts \
eslint-plugin-promise \
eslint-plugin-vue \
babel-eslint \
@babel/eslint-parser \
[email protected] \
prettier \
jsonlint \
Expand Down Expand Up @@ -408,7 +409,7 @@ RUN phive --no-progress install psalm -g --trust-gpg-keys 8A03EA3B385DBAA1,12CE0


# phplint installation
RUN composer global require overtrue/phplint 3.0.0 \
RUN composer global require overtrue/phplint ^3.0 \
&& composer global config bin-dir --absolute

ENV PATH="/root/.composer/vendor/bin:$PATH"
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Check+MegaLinter+to+say+goodbye+to+dirty+code+in+your+projects+%3A%29+100%25+free+and+open+source+for+all+uses&url=https://megalinter.github.io/&via=NicolasVuillamy&hashtags=linters,code,quality,ci,python,java,golang,c,dotnet,kotlin,rust,scala,salesforce,terraform)

<!-- welcome-phrase-start -->
MegaLinter is an **100% Open-Source tool for CI/CD workflows** that **analyzes consistency and quality** of [**48** languages](#languages), [**22** formats](#formats), [**20** tooling formats](#tooling-formats) , [**excessive copy-pastes**](#other) and [**spelling mistakes**](#other) in your repository sources, generates [**various reports**](#reporters), and can even [apply **formatting** and **auto-fixes**](#apply-fixes), to **ensure all your projects sources are clean**, whatever IDE/toolbox are used by their developers.
MegaLinter is an **100% Open-Source tool for CI/CD workflows** that **analyzes consistency and quality** of [**49** languages](#languages), [**22** formats](#formats), [**20** tooling formats](#tooling-formats) , [**excessive copy-pastes**](#other) and [**spelling mistakes**](#other) in your repository sources, generates [**various reports**](#reporters), and can even [apply **formatting** and **auto-fixes**](#apply-fixes), to **ensure all your projects sources are clean**, whatever IDE/toolbox are used by their developers.

Ready to use [out of the box](#installation) as a **GitHub Action** or **any CI system**, [**highly configurable**](#configuration) and **free for all uses**

Expand Down Expand Up @@ -192,6 +192,7 @@ All linters are integrated in the [MegaLinter docker image](https://hub.docker.c
| <!-- --> <!-- linter-icon --> | | [phpcs](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/php_phpcs.md#readme) | [PHP_PHPCS](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/php_phpcs.md#readme) | |
| <!-- --> <!-- linter-icon --> | | [phpstan](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/php_phpstan.md#readme) | [PHP_PHPSTAN](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/php_phpstan.md#readme) | |
| <!-- --> <!-- linter-icon --> | | [psalm](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/php_psalm.md#readme) | [PHP_PSALM](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/php_psalm.md#readme) | |
| <!-- --> <!-- linter-icon --> | | [phplint](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/php_phplint.md#readme) | [PHP_PHPLINT](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/php_phplint.md#readme) | |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/powershell.ico" alt="" height="32px" class="megalinter-icon"></a> <!-- linter-icon --> | [**POWERSHELL**](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/powershell.md#readme) | [powershell](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/powershell_powershell.md#readme) | [POWERSHELL_POWERSHELL](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/powershell_powershell.md#readme) | |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/python.ico" alt="" height="32px" class="megalinter-icon"></a> <!-- linter-icon --> | [**PYTHON**](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/python.md#readme) | [pylint](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/python_pylint.md#readme) | [PYTHON_PYLINT](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/python_pylint.md#readme) | |
| <!-- --> <!-- linter-icon --> | | [black](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/python_black.md#readme) | [PYTHON_BLACK](https://github.com/megalinter/megalinter/tree/main/docs/descriptors/python_black.md#readme) | :heavy_check_mark: |
Expand Down Expand Up @@ -788,15 +789,15 @@ _The following table does not display docker pulls from [MegaLinter v4 images](h
<!-- flavors-table-start -->
| <!-- --> | Flavor | Description | Embedded linters | Info |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------|:----------------:|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/images/mega-linter-square.png" alt="" height="32px" class="megalinter-icon"></a> | [all](https://megalinter.github.io/supported-linters/) | Default MegaLinter Flavor | 95 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/images/mega-linter-square.png" alt="" height="32px" class="megalinter-icon"></a> | [all](https://megalinter.github.io/supported-linters/) | Default MegaLinter Flavor | 96 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/ci_light.ico" alt="" height="32px" class="megalinter-icon"></a> | [ci_light](https://github.com/megalinter/megalinter/tree/main/docs/flavors/ci_light.md#readme) | Optimized for CI items (Dockerfile, Jenkinsfile, JSON/YAML schemas,XML | 13 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-ci_light/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-ci_light) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/dart.ico" alt="" height="32px" class="megalinter-icon"></a> | [dart](https://github.com/megalinter/megalinter/tree/main/docs/flavors/dart.md#readme) | Optimized for DART based projects | 41 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-dart/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-dart) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/documentation.ico" alt="" height="32px" class="megalinter-icon"></a> | [documentation](https://github.com/megalinter/megalinter/tree/main/docs/flavors/documentation.md#readme) | MegaLinter for documentation projects | 40 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-documentation/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-documentation) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/dotnet.ico" alt="" height="32px" class="megalinter-icon"></a> | [dotnet](https://github.com/megalinter/megalinter/tree/main/docs/flavors/dotnet.md#readme) | Optimized for C, C++, C# or VB based projects | 47 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-dotnet/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-dotnet) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/go.ico" alt="" height="32px" class="megalinter-icon"></a> | [go](https://github.com/megalinter/megalinter/tree/main/docs/flavors/go.md#readme) | Optimized for GO based projects | 42 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-go/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-go) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/java.ico" alt="" height="32px" class="megalinter-icon"></a> | [java](https://github.com/megalinter/megalinter/tree/main/docs/flavors/java.md#readme) | Optimized for JAVA based projects | 42 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-java/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-java) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/javascript.ico" alt="" height="32px" class="megalinter-icon"></a> | [javascript](https://github.com/megalinter/megalinter/tree/main/docs/flavors/javascript.md#readme) | Optimized for JAVASCRIPT or TYPESCRIPT based projects | 49 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-javascript/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-javascript) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/php.ico" alt="" height="32px" class="megalinter-icon"></a> | [php](https://github.com/megalinter/megalinter/tree/main/docs/flavors/php.md#readme) | Optimized for PHP based projects | 44 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-php/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-php) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/php.ico" alt="" height="32px" class="megalinter-icon"></a> | [php](https://github.com/megalinter/megalinter/tree/main/docs/flavors/php.md#readme) | Optimized for PHP based projects | 45 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-php/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-php) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/python.ico" alt="" height="32px" class="megalinter-icon"></a> | [python](https://github.com/megalinter/megalinter/tree/main/docs/flavors/python.md#readme) | Optimized for PYTHON based projects | 49 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-python/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-python) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/ruby.ico" alt="" height="32px" class="megalinter-icon"></a> | [ruby](https://github.com/megalinter/megalinter/tree/main/docs/flavors/ruby.md#readme) | Optimized for RUBY based projects | 41 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-ruby/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-ruby) |
| <img src="https://github.com/megalinter/megalinter/raw/main/docs/assets/icons/rust.ico" alt="" height="32px" class="megalinter-icon"></a> | [rust](https://github.com/megalinter/megalinter/tree/main/docs/flavors/rust.md#readme) | Optimized for RUST based projects | 41 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/megalinter/megalinter-rust/v5) ![Docker Pulls](https://img.shields.io/docker/pulls/megalinter/megalinter-rust) |
Expand Down
Loading