Skip to content

Commit

Permalink
[Mega-Linter] Apply linters fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
atala-dev committed Jul 12, 2022
1 parent ac14cdb commit 01bcdc4
Show file tree
Hide file tree
Showing 11 changed files with 590 additions and 45 deletions.
34 changes: 34 additions & 0 deletions report/IDE-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,40 @@ INSTRUCTIONS

IDE EXTENSIONS APPLICABLE TO YOUR PROJECT

eslint-plugin-jsonc (JSON)
- vscode:
- vscode-eslint: https://github.com/ota-meshi/eslint-plugin-jsonc#visual-studio-code

prettier (JSON)
- atom:
- prettier-atom: https://github.com/prettier/prettier-atom
- atom-mprettier: https://github.com/t9md/atom-mprettier
- atom-miniprettier: https://github.com/duailibe/atom-miniprettier
- emacs:
- prettier-emacs: https://github.com/prettier/prettier-emacs
- prettier.el: https://github.com/jscheid/prettier.el
- apheleia: https://github.com/raxod502/apheleia
- idea:
- native support: https://prettier.io/docs/en/webstorm.html
- sublime:
- JsPrettier: https://packagecontrol.io/packages/JsPrettier
- vim:
- vim-prettier: https://github.com/prettier/vim-prettier
- visual_studio:
- JavaScriptPrettier: https://github.com/madskristensen/JavaScriptPrettier
- vscode:
- prettier-vscode: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

v8r (JSON)
- eclipse:
- native support: https://www.eclipse.org/
- idea:
- native support: https://www.jetbrains.com/products/#type=ide
- vim:
- vison: https://github.com/Quramy/vison
- vscode:
- native support: https://code.visualstudio.com/

markdownlint (MARKDOWN)
- atom:
- linter-node-markdownlint: https://atom.io/packages/linter-node-markdownlint
Expand Down
34 changes: 34 additions & 0 deletions report/IDE-config/.eslintrc-json.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"overrides": [
{
"files": ["*.json"],
"extends": [
"plugin:jsonc/recommended-with-jsonc"
],
"parser": "jsonc-eslint-parser",
"parserOptions": {
"jsonSyntax": "JSONC"
}
},
{
"files": ["*.jsonc"],
"extends": [
"plugin:jsonc/recommended-with-jsonc"
],
"parser": "jsonc-eslint-parser",
"parserOptions": {
"jsonSyntax": "JSONC"
}
},
{
"files": ["*.json5"],
"extends": [
"plugin:jsonc/recommended-with-json5"
],
"parser": "jsonc-eslint-parser",
"parserOptions": {
"jsonSyntax": "JSON5"
}
}
]
}
5 changes: 5 additions & 0 deletions report/linters_logs/SUCCESS-JSON_ESLINT_PLUGIN_JSONC.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of eslint-plugin-jsonc linter (version 2.3.1)
See documentation on https://megalinter.github.io/descriptors/json_eslint_plugin_jsonc/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
8 changes: 8 additions & 0 deletions report/linters_logs/SUCCESS-JSON_JSONLINT.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Results of jsonlint linter (version 1.6.3)
See documentation on https://megalinter.github.io/descriptors/json_jsonlint/
-----------------------------------------------

✅ [SUCCESS] report/IDE-config/.markdown-link-check.json
✅ [SUCCESS] report/IDE-config/.markdownlint.json
✅ [SUCCESS] report/IDE-config/.secretlintrc.json
✅ [SUCCESS] report/IDE-config/.vscode/extensions.json
5 changes: 5 additions & 0 deletions report/linters_logs/SUCCESS-JSON_PRETTIER.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Results of prettier linter (version 2.7.1)
See documentation on https://megalinter.github.io/descriptors/json_prettier/
-----------------------------------------------

✅ [SUCCESS] for workspace /github/workspace
8 changes: 8 additions & 0 deletions report/linters_logs/SUCCESS-JSON_V8R.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Results of v8r linter (version 0.6.1)
See documentation on https://megalinter.github.io/descriptors/json_v8r/
-----------------------------------------------

✅ [SUCCESS] report/IDE-config/.markdown-link-check.json
✅ [SUCCESS] report/IDE-config/.markdownlint.json
✅ [SUCCESS] report/IDE-config/.secretlintrc.json
✅ [SUCCESS] report/IDE-config/.vscode/extensions.json
3 changes: 3 additions & 0 deletions report/linters_logs/SUCCESS-YAML_V8R.log
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ See documentation on https://megalinter.github.io/descriptors/yaml_v8r/
✅ [SUCCESS] .github/workflows/lint.yml
✅ [SUCCESS] .github/workflows/pr-check.yml
✅ [SUCCESS] .mega-linter.yml
✅ [SUCCESS] report/IDE-config/.yamllint.yml
✅ [SUCCESS] report/updated_sources/.github/labeler.yml
✅ [SUCCESS] report/updated_sources/.github/workflows/labeler.yml
170 changes: 125 additions & 45 deletions report/mega-linter.log

Large diffs are not rendered by default.

93 changes: 93 additions & 0 deletions report/updated_sources/report/IDE-config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
MegaLinter can help you to define the same linter configuration locally

INSTRUCTIONS

- Copy the content of IDE-config folder at the root of your repository
- if you are using Visual Studio Code, just reopen your project after the copy, and you will be prompted to install recommended extensions
- If not, you can install extensions manually using the following links.

IDE EXTENSIONS APPLICABLE TO YOUR PROJECT

eslint-plugin-jsonc (JSON)
- vscode:
- vscode-eslint: https://github.com/ota-meshi/eslint-plugin-jsonc#visual-studio-code

prettier (JSON)
- atom:
- prettier-atom: https://github.com/prettier/prettier-atom
- atom-mprettier: https://github.com/t9md/atom-mprettier
- atom-miniprettier: https://github.com/duailibe/atom-miniprettier
- emacs:
- prettier-emacs: https://github.com/prettier/prettier-emacs
- prettier.el: https://github.com/jscheid/prettier.el
- apheleia: https://github.com/raxod502/apheleia
- idea:
- native support: https://prettier.io/docs/en/webstorm.html
- sublime:
- JsPrettier: https://packagecontrol.io/packages/JsPrettier
- vim:
- vim-prettier: https://github.com/prettier/vim-prettier
- visual_studio:
- JavaScriptPrettier: https://github.com/madskristensen/JavaScriptPrettier
- vscode:
- prettier-vscode: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

v8r (JSON)
- eclipse:
- native support: https://www.eclipse.org/
- idea:
- native support: https://www.jetbrains.com/products/#type=ide
- vim:
- vison: https://github.com/Quramy/vison
- vscode:
- native support: https://code.visualstudio.com/

markdownlint (MARKDOWN)
- atom:
- linter-node-markdownlint: https://atom.io/packages/linter-node-markdownlint
- sublime:
- SublimeLinter-contrib-markdownlint: https://packagecontrol.io/packages/SublimeLinter-contrib-markdownlint
- vim:
- coc-markdownlint: https://github.com/fannheyward/coc-markdownlint
- vscode:
- vscode-markdownlint: https://marketplace.visualstudio.com/items/DavidAnson.vscode-markdownlint

markdown-table-formatter (MARKDOWN)
- vscode:
- Markdown Table Prettify Extension: https://github.com/darkriszty/MarkdownTablePrettify-VSCodeExt

prettier (YAML)
- atom:
- prettier-atom: https://github.com/prettier/prettier-atom
- atom-mprettier: https://github.com/t9md/atom-mprettier
- atom-miniprettier: https://github.com/duailibe/atom-miniprettier
- emacs:
- prettier-emacs: https://github.com/prettier/prettier-emacs
- prettier.el: https://github.com/jscheid/prettier.el
- apheleia: https://github.com/raxod502/apheleia
- idea:
- native support: https://prettier.io/docs/en/webstorm.html
- sublime:
- JsPrettier: https://packagecontrol.io/packages/JsPrettier
- vim:
- vim-prettier: https://github.com/prettier/vim-prettier
- visual_studio:
- JavaScriptPrettier: https://github.com/madskristensen/JavaScriptPrettier
- vscode:
- prettier-vscode: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

v8r (YAML)
- eclipse:
- native support: https://www.eclipse.org/
- idea:
- native support: https://www.jetbrains.com/products/#type=ide
- vim:
- vison: https://github.com/Quramy/vison
- vscode:
- native support: https://code.visualstudio.com/

yamllint (YAML)
- emacs:
- flycheck: https://github.com/krzysztof-magosa/flycheck-yamllint
- vim:
- ale: https://github.com/w0rp/ale
12 changes: 12 additions & 0 deletions report/updated_sources/report/linters_logs/SUCCESS-YAML_V8R.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Results of v8r linter (version 0.6.1)
See documentation on https://megalinter.github.io/descriptors/yaml_v8r/
-----------------------------------------------

✅ [SUCCESS] .github/labeler.yml
✅ [SUCCESS] .github/workflows/labeler.yml
✅ [SUCCESS] .github/workflows/lint.yml
✅ [SUCCESS] .github/workflows/pr-check.yml
✅ [SUCCESS] .mega-linter.yml
✅ [SUCCESS] report/IDE-config/.yamllint.yml
✅ [SUCCESS] report/updated_sources/.github/labeler.yml
✅ [SUCCESS] report/updated_sources/.github/workflows/labeler.yml
Loading

0 comments on commit 01bcdc4

Please sign in to comment.