Commit 74e6a45f6a
Verified · cmc
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 @@ | |||
| 1 | config_version = "0" | ||
| 2 | |||
| 3 | exclude_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 | |||
| 18 | test_patterns = [ | ||
| 19 | "**/test/**", | ||
| 20 | "**/tests/**", | ||
| 21 | "**/Tests/**", | ||
| 22 | "**/*_test.*", | ||
| 23 | "**/test_*.*", | ||
| 24 | "**/*.test.*", | ||
| 25 | "**/*Tests.swift", | ||
| 26 | "e2e/**", | ||
| 27 | ] | ||
| 28 | |||
| 29 | [[source]] | ||
| 30 | name = "default" | ||
| 31 | default = true | ||
| 32 | |||
| 33 | [[plugin]] | ||
| 34 | name = "osv-scanner" | ||
| 35 | |||
| 36 | [[plugin]] | ||
| 37 | name = "trufflehog" | ||
| 38 | |||
| 39 | # Early returns are guard clauses, which keep the happy path unindented. | ||
| 40 | [smells.return_statements] | ||
| 41 | enabled = false | ||
| 42 | |||
| 43 | # Total file complexity is the sum of its functions, which function_complexity | ||
| 44 | # already checks. | ||
| 45 | [smells.file_complexity] | ||
| 46 | enabled = false | ||