dmitry-kulikov/yii2-json-editor

View on GitHub
.codeclimate.yml

Summary

Maintainability
Test Coverage
version: '2'

plugins:
  # official plugins
  duplication:
    enabled: true
    config:
      languages:
        - php:
  fixme:
    enabled: true
  phpcodesniffer:
    enabled: true
    channel: 'beta'
    config:
      standard: 'PSR12'
  phpmd:
    enabled: true
    checks:
      CleanCode/ElseExpression: # https://phpmd.org/rules/cleancode.html
        enabled: false
      CleanCode/StaticAccess: # https://phpmd.org/rules/cleancode.html
        enabled: false
  sonar-php:
    enabled: true
    config:
      tests_patterns:
        - 'tests/**'

  # community-supported plugins
  markdownlint:
    enabled: true
  phan:
    enabled: true
    config:
      file_extensions: 'php'
      backward-compatibility-checks: true
      dead-code-detection: true
  shellcheck:
    enabled: true

exclude_patterns:
  - 'tests/'