Skip to content

Is it possible to disable Eslint check? #583

Open
@josemigallas

Description

Codeclimate is hitting OOM error during the Eslint check so we want to disable it. Even though we tried removing the entry in the yaml and settings enabled: false it's still running the check and failing. Is it possible to remove this check?

Actual Behavior

Eslint check is being run

Expected Behavior

Eslint check should be ignored

Steps to reproduce

codeclimate.yml

version: 2
# All maintainability checks are enabled by default, but can be disabled or tuned individually under the checks node. Example:
# checks:
#   argument-count:
#     enabled: true
#     config:
#       threshold: 4
plugins:
  shellcheck:
    enabled: true
  brakeman:
    enabled: true
  rubocop:
    enabled: true
    channel: "rubocop-1-31"
  reek:
    enabled: true
  eslint:
    enabled: false
  csslint:
    enabled: false
  coffeelint:
    enabled: true
    checks:
      max_line_length:
        enabled: false
  bundler-audit:
    enabled: true
  scss-lint:
    enabled: true
exclude_patterns:
  - "**/node_modules/"
  - "**/vendor/*"
  - "app/assets/images/**/*"
  - "app/javascript"
  - "assets/bundles/*.js"
  - "bin/webpack*"
  - "cdn/*"
  - "lib/action_dispatch/rails5_ssl.rb"
  - "lib/developer_portal/app/assets/stylesheets/**/*"
  - "lib/developer_portal/app/views/developer_portal/css/*"
  - "lib/developer_portal/app/views/developer_portal/javascripts/*"
  - "public/assets"
  - "public/fancybox/*"
  - "public/images/**/*"
  - "public/javascripts/vendor/*"
  - "public/packs"
  - "public/themes/**/*"
  - "spec/**/*"
  - "spec/**/**/*"
  - "test/**/*"
  - "tmp/**/*"

Relevant links

3scale/porta#3104
https://codeclimate.com/github/3scale/porta/pull/3104

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions