Commit 74e6a45f6a

74e6a45f6a6dc1d85d0953b512d38280057dbbc7

parent: 685c9b46d1

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-22 20:18 UTC

Add Qlty config

static/org.js is a vendored org-js build and is excluded.

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 # Vendored org-js build (Masafumi Oyamada, MIT).
15 "static/org.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