version: "2"
checks:
  argument-count:
    config:
      threshold: 4
  complex-logic:
    config:
      threshold: 4
  file-lines:
    config:
      threshold: 250
  method-complexity:
    config:
      threshold: 12
  method-count:
    config:
      threshold: 20
  method-lines:
    config:
      threshold: 50
  function-lines:
    config:
      threshold: 100
  nested-control-flow:
    config:
      threshold: 10
  return-statements:
    config:
      threshold: 4
plugins:
  eslint:
    enabled: true
    channel: "eslint-6"
    config:
      extensions:
      - .es6
      - .js
      - .ts
  duplication:
    enabled: true
    config:
      languages:
        javascript:
          count_threshold: 3
exclude_patterns:
  - config/
  - db/
  - dist/
  - features/
  - "**/node_modules/"
  - script/
  - "**/spec/"
  - "**/test/"
  - "**/tests/"
  - "**/vendor/"
  - "**/*.d.ts"
