Commit 8fe540f577

8fe540f577a1b78f40e141fd91fd2a4e8ec84c51

parent: 3aa049457a

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-22 21:32 UTC

Add Qlty config; exclude level map data from smells

Layout: unified · split

.qlty/.gitignore added +7
@@ -0,0 +1,7 @@
1*
2!configs
3!configs/**
4!hooks
5!hooks/**
6!qlty.toml
7!.gitignore
.qlty/qlty.toml added +45
@@ -0,0 +1,45 @@
1config_version = "0"
2
3exclude_patterns = [
4 "1mb/data.js",
5 "**/vendor/**",
6 "**/node_modules/**",
7 "**/testdata/**",
8 "**/dist/**",
9 "**/.build/**",
10 "**/build/**",
11 "**/*.min.*",
12 "**/generated/**",
13 ".claude/**",
14 "**/Pods/**",
15]
16
17test_patterns = [
18 "**/test/**",
19 "**/tests/**",
20 "**/Tests/**",
21 "**/*_test.*",
22 "**/test_*.*",
23 "**/*.test.*",
24 "**/*Tests.swift",
25 "e2e/**",
26]
27
28[[source]]
29name = "default"
30default = true
31
32[[plugin]]
33name = "osv-scanner"
34
35[[plugin]]
36name = "trufflehog"
37
38# Early returns are guard clauses, which keep the happy path unindented.
39[smells.return_statements]
40enabled = false
41
42# Total file complexity is the sum of its functions, which function_complexity
43# already checks.
44[smells.file_complexity]
45enabled = false