NaturalCycles/nodejs-lib

View on GitHub
.codeclimate.yml

Summary

Maintainability
Test Coverage
#
# # DO NOT MODIFY, WILL BE OVERWRITTEN BY @naturalcycles/dev-lib
#
version: 2

checks:
  argument-count:
    config:
      threshold: 5
  complex-logic:
    config:
      threshold: 4
  file-lines:
    config:
      threshold: 800
  method-complexity:
    config:
      threshold: 8
  method-count:
    config:
      threshold: 50
  method-lines:
    config:
      threshold: 100
  nested-control-flow:
    config:
      threshold: 5
  return-statements:
    config:
      threshold: 20
  similar-code:
    config:
      threshold: 60
  identical-code:
    config:
      threshold: 50

exclude_patterns:
  - 'dist/'
  - 'node_modules/'
  - '**/*.test.*'
  - '**/*.mock.*'
  - '**/*.cnst.*'
  - '**/*.config.*'
  - '**/*.d.ts'
  - 'build/'
  - 'src/test/'
  - 'src/environments/'
  - 'src/env/'
  - 'scripts/'
  - 'other/'
  - 'patch/'
  - 'cordova-hooks/'
  - 'test/'
  - 'resources/'
  - 'static/'
  - 'secret/'
  - 'ex/'
  - 'docs/'
  - 'docker/'
  - 'public/'
  - '**/__exclude/'