config_version = "0" exclude_patterns = [ "**/vendor/**", "**/node_modules/**", "**/testdata/**", "**/dist/**", "**/.build/**", "**/build/**", "**/*.min.*", "**/generated/**", ".claude/**", "**/Pods/**", ] test_patterns = [ "**/test/**", "**/tests/**", "**/Tests/**", "**/*_test.*", "**/test_*.*", "**/*.test.*", "**/*Tests.swift", "e2e/**", ] [[source]] name = "default" default = true [[plugin]] name = "osv-scanner" [[plugin]] name = "trufflehog" # Early returns are guard clauses, which keep the happy path unindented. [smells.return_statements] enabled = false # Function and file complexity are left to review rather than counted. [smells.function_complexity] enabled = false [smells.file_complexity] enabled = false # Exhaustive switch-over-enum lookup tables (name, symbol, color per case) # share shape but not content. [language.swift.smells.duplication] filter_patterns = ["(import_declaration _)", "(switch_statement _)"]