Skip to content

Instantly share code, notes, and snippets.

@NoahTheDuke
Created June 25, 2025 20:04
Show Gist options
  • Save NoahTheDuke/2bef17321724e376ba65f3e26c173384 to your computer and use it in GitHub Desktop.
Save NoahTheDuke/2bef17321724e376ba65f3e26c173384 to your computer and use it in GitHub Desktop.
ran splint 1.21 on 20k jars pulled from clojars, sorted by number of times a given rule was encountered
([lint/min-max 0]
[lint/rand-int-one 0]
[lint/require-explicit-param-tags 0]
[lint/incorrectly-swapped 1]
[lint/update-with-swap 2]
[lint/duplicate-field-name 6]
[lint/existing-constant 6]
[lint/if-not-not 15]
[style/update-in-assoc 16]
[style/when-not-not 20]
[style/minus-zero 27]
[lint/loop-do 29]
[style/multiply-by-zero 36]
[lint/divide-by-one 37]
[lint/duplicate-case-test 37]
[splint/error 40]
[splint/unknown-error 54]
[style/nested-addition 58]
[style/apply-str-reverse 67]
[style/when-not-do 77]
[style/multiply-by-one 90]
[lint/missing-body-in-when 98]
[performance/get-in-literals 109]
[lint/if-not-do 112]
[style/conj-vector 112]
[style/assoc-assoc 117]
[style/plus-zero 130]
[lint/locking-object 148]
[lint/dot-class-method 149]
[style/nested-multiply 180]
[lint/loop-empty-when 207]
[style/filter-vec-filterv 210]
[style/mapcat-apply-apply 245]
[lint/no-op-assignment 251]
[style/next-first 286]
[style/reduce-str 376]
[style/when-do 429]
[lint/no-catch 469]
[style/eq-nil 488]
[style/trivial-for 496]
[style/next-next 505]
[style/first-next 522]
[lint/dorun-map 565]
[style/eq-false 573]
[style/redundant-regex-constructor 602]
[lint/take-repeatedly 605]
[style/not-some-pred 703]
[style/eq-true 750]
[splint/parsing-error 786]
[style/first-first 838]
[performance/into-transducer 859]
[style/mapcat-concat-map 874]
[style/let-do 906]
[style/is-eq-order 1073]
[style/prefer-boolean 1082]
[naming/single-segment-namespace 1314]
[style/prefer-for-with-literals 1565]
[style/prefer-vary-meta 1699]
[lint/let-when 1716]
[style/prefer-condp 1716]
[style/redundant-nested-call 1782]
[style/minus-one 1824]
[style/filter-complement 1834]
[style/neg-checks 1857]
[lint/try-splicing 1988]
[lint/redundant-call 2023]
[style/apply-str-interpose 2063]
[lint/if-same-truthy 2390]
[naming/record-name 2465]
[lint/underscore-in-namespace 2488]
[lint/redundant-str-call 2554]
[lint/dot-obj-method 2660]
[style/when-not-empty? 2921]
[style/plus-one 2924]
[style/prefixed-libspecs 3029]
[style/when-not-call 3091]
[style/set-literal-as-fn 3162]
[lint/body-unquote-splicing 3223]
[style/useless-do 3452]
[style/redundant-let 3582]
[style/not-eq 3731]
[naming/predicate 3795]
[lint/assoc-fn 4131]
[naming/conversion-functions 4261]
[lint/not-empty? 4448]
[lint/let-if 4503]
[style/def-fn 4619]
[lint/if-not-both 4780]
[lint/catch-throwable 5256]
[style/pos-checks 5754]
[style/cond-else 6554]
[lint/if-let-else-nil 6687]
[style/tostring 6761]
[lint/into-literal 7091]
[lint/identical-branches 7394]
[lint/fn-wrapper 8026]
[performance/single-literal-merge 8422]
[lint/if-nil-else 8592]
[style/single-key-in 8611]
[style/eq-zero 9360]
[performance/get-keyword 9944]
[style/prefer-clj-math 10210]
[style/not-nil? 10688]
[style/apply-str 11422]
[performance/avoid-satisfies 11441]
[lint/prefer-require-over-use 11619]
[naming/conventional-aliases 12807]
[performance/dot-equals 12814]
[lint/misplaced-type-hint 14264]
[performance/assoc-many 15398]
[style/prefer-clj-string 20687]
[naming/lisp-case 28401]
[metrics/parameter-count 35071]
[style/new-object 38282]
[lint/if-else-nil 40402]
[style/multiple-arity-order 44230]
[lint/defmethod-names 79527]
[lint/warn-on-reflection 105578]
[metrics/fn-length 158766]
[lint/thread-macro-one-arg 321464]
[lint/prefer-method-values 602652])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment