Commit ff45c9a
committed
condition: improve a kondo hook
Body and clauses need to be linted separately in `guard`, as the body
could reference bindings from outside its scope that should not be
shadowed by the condition binding.1 parent 914fcb7 commit ff45c9a
File tree
1 file changed
+9
-5
lines changed- resources/clj-kondo.exports/de.active-group/active-clojure/hooks
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments