Commit 158f5238a4

158f5238a499921b4aff72918756fec5ead7d48e

parent: b5ca53f125

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-22 19:13 UTC

Add Qlty config

assets/js is tsc output, so it is excluded: its duplication is the
compiled copy of assets/ts.

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 +46
@@ -0,0 +1,46 @@
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 # tsc output (tsconfig.json outDir); the source is assets/ts.
15 "assets/js/**",
16]
17
18test_patterns = [
19 "**/test/**",
20 "**/tests/**",
21 "**/Tests/**",
22 "**/*_test.*",
23 "**/test_*.*",
24 "**/*.test.*",
25 "**/*Tests.swift",
26 "e2e/**",
27]
28
29[[source]]
30name = "default"
31default = true
32
33[[plugin]]
34name = "osv-scanner"
35
36[[plugin]]
37name = "trufflehog"
38
39# Early returns are guard clauses, which keep the happy path unindented.
40[smells.return_statements]
41enabled = false
42
43# Total file complexity is the sum of its functions, which function_complexity
44# already checks.
45[smells.file_complexity]
46enabled = false