Skip to content

Commit

Permalink
Fix up MegaLinter config.
Browse files Browse the repository at this point in the history
  • Loading branch information
homotechsual committed Jan 13, 2022
1 parent a364d86 commit 7336b0d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 153 deletions.
78 changes: 7 additions & 71 deletions .github/workflows/Run_Linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,75 +31,11 @@ jobs:
env:
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: react
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
LINTER_RULES_PATH: /
VALIDATE_JSCPD_ALL_CODEBASE: false
VALIDATE_ANSIBLE: false
VALIDATE_ARM: false
VALIDATE_BASH: false
VALIDATE_BASH_EXEC: false
VALIDATE_CPP: false
VALIDATE_CLANG_FORMAT: false
VALIDATE_CLOJURE: false
VALIDATE_CSHARP: false
VALIDATE_DART: false
VALIDATE_DOCKERFILE_HADOLINT: false
VALIDATE_ENV: false
VALIDATE_GHERKIN: false
VALIDATE_GO: false
VALIDATE_GOOGLE_JAVA_FORMAT: false
VALIDATE_GROOVY: false
VALIDATE_JAVA: false
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_JSCPD: false
VALIDATE_KOTLIN: false
VALIDATE_KUBERNETES_KUBEVAL: false
VALIDATE_LATEX: false
VALIDATE_LUA: false
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_OPENAPI: false
VALIDATE_PERL: false
VALIDATE_PHP: false
VALIDATE_PHP_BUILTIN: false
VALIDATE_PHP_PHPCS: false
VALIDATE_PHP_PHPSTAN: false
VALIDATE_PHP_PSALM: false
VALIDATE_PROTOBUF: false
VALIDATE_PYTHON: false
VALIDATE_PYTHON_BLACK: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_ISORT: false
VALIDATE_PYTHON_MYPY: false
VALIDATE_PYTHON_PYLINT: false
VALIDATE_POWERSHELL: false
VALIDATE_R: false
VALIDATE_RAKU: false
VALIDATE_RUBY: false
VALIDATE_RUST_2015: false
VALIDATE_RUST_2018: false
VALIDATE_RUST_2021: false
VALIDATE_RUST_CLIPPY: false
VALIDATE_SCALAFMT_LINT: false
VALIDATE_SHELL_SHFMT: false
VALIDATE_SNAKEMAKE_LINT: false
VALIDATE_SNAKEMAKE_SNAKEFMT: false
VALIDATE_STATES: false
VALIDATE_SQL: false
VALIDATE_SQLFLUFF: false
VALIDATE_TEKTON: false
VALIDATE_TERRAFORM_TFLINT: false
VALIDATE_TERRAFORM_TERRASCAN: false
VALIDATE_TERRAGRUNT: false
VALIDATE_TSX: false
VALIDATE_TYPESCRIPT_ES: false
VALIDATE_TYPESCRIPT_STANDARD: false
VALIDATE_XML: false
- name: Archive production artifacts
if: ${{ success() }} || ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: MegaLinter reports
path: |
report
mega-linter.log
if: ${{ success() }} || ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: MegaLinter reports
path: |
report
mega-linter.log
82 changes: 0 additions & 82 deletions .github/workflows/mega-linter.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ APPLY_FIXES: none # all, none, or list of linter keys
# - SPELL # Uncomment to disable checks of spelling mistakes
SHOW_ELAPSED_TIME: true
FILEIO_REPORTER: false
ENABLE: JAVASCRIPT,CSS,HTML,JSON,YAML,JSX
DISABLE_LINTERS: JAVASCRIPT_STANDARD,CSS_STYLELINT
SHOW_SKIPPED_LINTERS: false

0 comments on commit 7336b0d

Please sign in to comment.