.qlty/qlty.toml
55 lines · 1094 bytes
1config_version = "0"
2
3exclude_patterns = [
4 "**/vendor/**",
5 "**/node_modules/**",
6 "**/testdata/**",
7 "**/dist/**",
8 "**/.build/**",
9 "**/build/**",
10 "**/*.min.*",
11 "**/generated/**",
12 ".claude/**",
13 "**/Pods/**",
14]
15
16test_patterns = [
17 "**/test/**",
18 "**/tests/**",
19 "**/Tests/**",
20 "**/*_test.*",
21 "**/test_*.*",
22 "**/*.test.*",
23 "**/*Tests.swift",
24 "e2e/**",
25]
26
27[[source]]
28name = "default"
29default = true
30
31[[plugin]]
32name = "osv-scanner"
33
34[[plugin]]
35name = "trufflehog"
36
37# Both are unmaintained-crate notices, not vulnerabilities. syntect 5.3.0, the
38# latest release, needs bincode for its bundled syntax dump and yaml-rust for
39# .sublime-syntax files.
40[[triage]]
41match.plugins = ["osv-scanner"]
42match.rules = ["osv-scanner:RUSTSEC-2025-0141", "osv-scanner:RUSTSEC-2024-0320"]
43set.ignored = true
44
45
46# Early returns are guard clauses, which keep the happy path unindented.
47[smells.return_statements]
48enabled = false
49
50# Function and file complexity are left to review rather than counted.
51[smells.function_complexity]
52enabled = false
53
54[smells.file_complexity]
55enabled = false