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

Error on Analysis Configuration .codeclimate.yml #585

Open
1 task
Adebesin-Cell opened this issue Feb 8, 2023 · 0 comments
Open
1 task

Error on Analysis Configuration .codeclimate.yml #585

Adebesin-Cell opened this issue Feb 8, 2023 · 0 comments

Comments

@Adebesin-Cell
Copy link

Bug Template

Actual Behavior

We are left with only one error with eslint-7 after the support recommendation through mail.

CleanShot 2023-02-08 at 19 06 06@2x

So we are using eslint-plugin-unused-imports plugin for checking unused imports which i believe is not yet supported on code climate.

CleanShot 2023-02-08 at 19 07 22@2x

They are only checking with specific es lint versions and only with few subset of available eslint plugins

CleanShot 2023-02-08 at 19 05 53@2x

We checked the github repo from code climate but not able to find the plugin in their package json - https://github.com/codeclimate/codeclimate-eslint/blob/channel/eslint-7/package.json

CleanShot 2023-02-08 at 19 07 06@2x

Expected Behavior

Successful github checks

Steps to reproduce

version: '2' # required to adjust maintainability checks

checks:
  argument-count:
    enabled: true
    config:
      threshold: 4
  complex-logic:
    enabled: true
    config:
      threshold: 4
  file-lines:
    enabled: true
    config:
      threshold: 250
  method-complexity:
    enabled: true
    config:
      threshold: 5
  method-count:
    enabled: true
    config:
      threshold: 20
  method-lines:
    enabled: true
    config:
      threshold: 25
  nested-control-flow:
    enabled: true
    config:
      threshold: 4
  return-statements:
    enabled: true
    config:
      threshold: 4
  similar-code:
    enabled: true
    config:
      threshold: 30
  identical-code:
    enabled: true
    config:
      threshold: 50

plugins:
  eslint:
    enabled: true
    channel: 'eslint-7'

exclude_patterns:
  - 'config/'
  - 'db/'
  - 'dist/'
  - 'features/'
  - '**/node_modules/'
  - 'script/'
  - '**/spec/'
  - '**/test/'
  - '**/tests/'
  - 'Tests/'
  - '**/vendor/'
  - '**/*_test.go'
  - '**/*.d.ts'

Relevant links

https://codeclimate.com/github/EveripediaNetwork/ep-ui/pull/1137


  • 4-6 word issue title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant