.qlty/qlty.toml
49 lines · 875 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 # Vendored: erusev/parsedown and a PrismJS 1.23.0 build.
15 "_classes/Parsedown.php",
16 "static/prism.js",
17]
18
19test_patterns = [
20 "**/test/**",
21 "**/tests/**",
22 "**/Tests/**",
23 "**/*_test.*",
24 "**/test_*.*",
25 "**/*.test.*",
26 "**/*Tests.swift",
27 "e2e/**",
28]
29
30[[source]]
31name = "default"
32default = true
33
34[[plugin]]
35name = "osv-scanner"
36
37[[plugin]]
38name = "trufflehog"
39
40# Early returns are guard clauses, which keep the happy path unindented.
41[smells.return_statements]
42enabled = false
43
44# Function and file complexity are left to review rather than counted.
45[smells.function_complexity]
46enabled = false
47
48[smells.file_complexity]
49enabled = false