content: # This file was automatically generated by `qlty init`.
  # You can modify it to suit your needs.
  # We recommend you to commit this file to your repository.
  #
  # This configuration is used by both Qlty CLI and Qlty Cloud.
  #
  #     Qlty CLI -- Code quality toolkit for developers
  #     Qlty Cloud -- Fully automated Code Health Platform
  #
  # Try Qlty Cloud: https://qlty.sh
  #
  # For a guide to configuration, visit https://qlty.sh/d/config
  # Or for a full reference, visit https://qlty.sh/d/qlty-toml
  config_version = "0"
  
  exclude_patterns = [
    "**/*.yml",
    "**/KankuFile*",
    "**/Makefile*",
    "*/contrib/**",
    "**/dist/**",
    "**/docker-files/**",
    "**/docs/**",
    "**/.circleci/**",
    "**/.github/**",
    "**/.obs/**",
    "**/src/backend/**",
    "**/src/api/bin/**",
    "**/src/api/script/**",
    "**/src/api/config/**",
    "**/src/api/coverage/**",
    "**/src/api/docker-files/**",
    "**/src/api/db/**",
    "**/src/api/log/**",
    "**/src/api/spec/**",
    "**/src/api/test/**",
    "**/src/api/tmp/**",
    "**/src/api/vendor/**",
    "**/src/api/app/assets/**",
    "**/src/api/app/javascript/**",
    "**/src/api/app/indices/**",
    "**/src/api/app/components/*.haml",
    "**/src/api/app/views/**",
    "**/src/api/vendor/**",
    "**/src/api/public/**",
    "**/src/api/lib/**"
  ]
  
  test_patterns = [
    "**/test/**",
    "**/spec/**",
    "**/*.test.*",
    "**/*.spec.*",
    "**/*_test.*",
    "**/*_spec.*",
    "**/test_*.*",
    "**/spec_*.*",
  ]
  
  [smells]
  mode = "monitor"
  
  [smells.boolean_logic]
  threshold = 4
  
  [smells.file_complexity]
  threshold = 55
  enabled = false
  
  [smells.return_statements]
  threshold = 7
  
  [smells.nested_control_flow]
  threshold = 3
  
  [smells.function_parameters]
  threshold = 5
  
  [smells.function_complexity]
  threshold = 8
  
  [smells.duplication]
  enabled = true
  threshold = 20
  
  [[source]]
  name = "default"
  default = true
  