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"
  
  [[source]]
  name = "default"
  default = true
  
  exclude_patterns = [
    "*_min.*",
    "*-min.*",
    "*.min.*",
    "**/config/**",
    "**/vendor/**",
    "**/css/",
    "**/images/",
    "**/tests/",
    "**/docs/",
    "**/tripaldocker/",
  ]
  
  test_patterns = [
    "**/tests/**",
    "**/*Test.php*",
  ]
  
  [smells]
  mode = "comment"
  
  [smells.boolean_logic]
  threshold = 5
  enabled = true
  
  [smells.nested_control_flow]
  threshold = 7
  enabled = true
  
  [smells.function_parameters]
  enabled = false
  
  [smells.return_statements]
  threshold = 8
  enabled = true
  
  [smells.file_complexity]
  enabled = false
  
  [smells.function_complexity]
  threshold = 30
  enabled = true
  
  [smells.duplication]
  threshold = 100
  nodes_threshold = 300
  
  [[plugin]]
  name = "yamllint"
  enabled = true
  
  [[plugin]]
  name = "actionlint"
  
  [[plugin]]
  name = "checkov"
  
  [[exclude]]
  plugins = ["yamllint"]
  file_patterns = ["tripal_chado/chado_schema/**", ".github/workflows/**"]
  
  [[exclude]]
  plugins = ["checkov"]
  file_patterns = ["tripaldocker/legacy/**"]
  
  [[triage]]
  match.plugins = ["checkov"]
  match.levels = ["low","medium"]
  set.ignored = true
  