Commit e3a87cf5b4
Verified · cmc
Layout: unified · split
.qlty/qlty.toml +15
| @@ -3,6 +3,10 @@ config_version = "0" | |||
| 3 | exclude_patterns = [ | 3 | exclude_patterns = [ |
| 4 | "**/.build/**", | 4 | "**/.build/**", |
| 5 | ".claude/**", | 5 | ".claude/**", |
| 6 | # Vendored tree-sitter grammars and scanners (THIRD_PARTY.org). | ||
| 7 | "Sources/TreeSitterClojure/**", | ||
| 8 | "Sources/TreeSitterElisp/**", | ||
| 9 | "Sources/TreeSitterScanners/**", | ||
| 6 | ] | 10 | ] |
| 7 | 11 | ||
| 8 | test_patterns = [ | 12 | test_patterns = [ |
| @@ -12,6 +16,17 @@ test_patterns = [ | |||
| 12 | [smells] | 16 | [smells] |
| 13 | mode = "comment" | 17 | mode = "comment" |
| 14 | 18 | ||
| 19 | # Early returns are guard clauses, which keep the happy path unindented. | ||
| 20 | [smells.return_statements] | ||
| 21 | enabled = false | ||
| 22 | |||
| 23 | # Function and file complexity are left to review rather than counted. | ||
| 24 | [smells.function_complexity] | ||
| 25 | enabled = false | ||
| 26 | |||
| 27 | [smells.file_complexity] | ||
| 28 | enabled = false | ||
| 29 | |||
| 15 | [[source]] | 30 | [[source]] |
| 16 | name = "default" | 31 | name = "default" |
| 17 | default = true | 32 | default = true |