Ryan McGowan
64766de6d1
Create a github flavored markdown reporter.
2013-02-05 19:59:15 -05:00
Jonas Enlund
65b9fdaa9e
README update
2013-01-26 08:29:49 +02:00
Jonas Enlund
7eb98f19ea
Removed some unlikely rules
2013-01-26 08:23:16 +02:00
Jonas Enlund
ea1e0325d4
Merge pull request #70 from Raynes/master
...
Added a rule for (apply str ..)
2013-01-25 21:43:54 -08:00
Jonas Enlund
18349920b4
Merge pull request #69 from pangloss/master
...
Rule for redundant do inside a when
2013-01-25 21:42:28 -08:00
Anthony Grimes
8424bb2b20
Add a new rule for plain (apply str ..) and a test.
2013-01-25 15:27:43 -06:00
Darrick Wiebe
926f093b24
I've done this
2013-01-25 14:50:13 -05:00
Jonas Enlund
6addc843e0
Merge pull request #68 from fogus/master
...
Added another `filter` pattern.
2013-01-25 06:16:14 -08:00
fogus
f9bca5ef5d
Added another filter pattern and test.
2013-01-25 08:08:15 -05:00
Jonas Enlund
a46caf6914
fix for #61
2012-11-13 22:32:27 +02:00
Jonas Enlund
8b6988dc3a
Update readme
2012-11-11 17:05:43 +02:00
Jonas Enlund
a8fe7ad74d
bump version
2012-11-11 16:40:49 +02:00
Jonas Enlund
3cfeb78db8
Prepare for 0.0.5 release
2012-11-11 15:41:51 +02:00
Jonas Enlund
453b02afd1
Merge pull request #58 from sjl/master
...
Rule for (= nil x) -> (nil? x)
2012-11-08 23:38:58 -08:00
Steve Losh
760feec11a
Add a rule for (= nil x) -> (nil? x)
2012-11-09 00:33:03 -05:00
Jonas Enlund
ce4abd2087
Merge pull request #57 from ljos/master
...
remove do in loop form
2012-10-18 06:22:33 -07:00
Bjarte Johansen
cba0a329a8
Remove do binding in loop form
...
loop provides implicit do form in construct.
2012-10-18 14:51:26 +02:00
Jonas Enlund
e1845b6ef0
Revert "Merge pull request #55 from edtsech/if-true-or"
...
This reverts commit 72432a0764
, reversing
changes made to 25cf9d92ae
.
2012-10-16 17:33:01 +03:00
Jonas Enlund
72432a0764
Merge pull request #55 from edtsech/if-true-or
...
Rule for (if test true else).
2012-10-16 05:46:27 -07:00
Edward Tsech
7428264f7f
Rule for (if test true else).
2012-10-16 11:36:09 +02:00
Jonas Enlund
25cf9d92ae
Merge pull request #51 from ljos/master
...
Do forms are unneccesary in let forms.
2012-09-20 06:39:38 -07:00
Bjarte Johansen
24ff7fd6ea
Remove do binding in let form
...
do binding in let form is not neccessary as let provides an implicit do
form.
2012-09-20 12:06:49 +02:00
Jonas Enlund
b085c01c4f
Added 'repeatedly' rule as suggested in issue #48
2012-08-25 20:27:31 +03:00
Jonas Enlund
37b2a6c62c
Merge pull request #47 from sjl/master
...
(update-in ... assoc ...) to (assoc-in ...)
2012-07-14 11:50:37 -07:00
Steve Losh
c450d1da60
(update-in ... assoc ...) should be (assoc-in ...)
2012-07-14 14:47:18 -04:00
Jonas Enlund
176841cb4a
Merge pull request #46 from sjl/master
...
update-in suggestions
2012-07-11 07:34:41 -07:00
Steve Losh
b270b09a9e
Add update-in suggestions.
...
I often forget that update-in exists. This change adds a rule to remind people
of it for a few simple cases.
2012-07-10 17:25:27 -04:00
Jonas Enlund
9f4af6ef87
Merge pull request #45 from miner/master
...
another empty? recommendation
2012-07-10 00:10:46 -07:00
Steve Miner
d68221fdcc
(when-not (empty? x) body) should be (when (seq x) body)
2012-07-09 17:45:17 -04:00
Jonas Enlund
a34d5c45b1
Merge pull request #44 from miner/master
...
prefer (seq x) over (not (empty? x)
2012-07-08 13:15:55 -07:00
Steve Miner
cc83a68c1b
prefer (seq x) over (not (empty? x))
2012-07-08 16:01:04 -04:00
Jonas Enlund
dacbdd14f2
Merge pull request #43 from duelinmarkers/fix-dot-rule-when-member-is-a-list
...
Handle list member-access in dot form. Fixes #33 .
2012-06-26 08:21:47 -07:00
Jonas Enlund
66b318bd42
Merge pull request #42 from duelinmarkers/issue-39
...
Fix 'remove suggestion for 'filter with anonymous fn
2012-06-26 08:21:01 -07:00
Jonas Enlund
7a4d2bfc50
fixed readme
2012-06-11 07:47:18 +03:00
Jonas Enlund
5f3fc0cff0
Mention limitations in README
2012-06-11 07:43:23 +03:00
Jonas Enlund
af21ab3e81
Merge pull request #40 from duelinmarkers/test-coverage-for-rules
...
Test coverage for rules
2012-06-10 21:20:06 -07:00
John Hume
2a899b452a
Handle list member-access in dot form. Fixes #33 .
2012-06-10 23:03:48 -04:00
John Hume
c45be0724b
Fix 'remove suggestion for anonymous fns, issue #39 .
2012-06-10 21:39:22 -04:00
John Hume
c6238ac337
Remove extra whitespace
2012-06-10 21:26:11 -04:00
John Hume
3bb4ad5c71
Remove redundant [(not (= x y)) (not= x y)]
...
The rule is already covered in equality.
2012-06-10 21:13:38 -04:00
John Hume
1f66ea8f5a
Remove redundant [(do x) x]
...
The rule is covered in control-structures.
2012-06-10 21:12:38 -04:00
John Hume
d7dc246e99
Add minimal test coverage for all rules
2012-06-10 21:04:43 -04:00
John Hume
3b5cac7c86
More complete test coverage for control-structures
...
This covers all but the (loop [] ...) rule, which seems to include the
(recur) in the body of the suggested (when...) form.
2012-06-10 19:29:14 -04:00
Jonas Enlund
75b4091ebb
Merge pull request #38 from tsdh/master
...
Here's the requested emacs-usage documentation in the README.md.
2012-05-31 06:40:57 -07:00
Tassilo Horn
3a2e85200a
Document Emacs usage in README.md
2012-05-31 15:38:50 +02:00
Jonas Enlund
710e67188a
Merge pull request #37 from tsdh/master
...
Use check-file instead of check-reader.
2012-05-31 06:30:25 -07:00
Tassilo Horn
abf4979a0f
Use check-file instead of check-reader.
...
Also, make check-file include :file metadata. Show that including the line
number in a more conventional compiler output format, which can be easily
exploited by tools such as Emacs.
For example, the following implements kibit support for Emacs, i.e., M-x kibit
RET will run kibit in the current project and show its results in a
*compilation* buffer, where all kibit suggestions are properly highlighted and
hyperlinked to the clojure source code files.
---------------------------------------------------------------
(require 'compile)
(add-to-list 'compilation-error-regexp-alist-alist
'(kibit "At \\([^:]+\\):\\([[:digit:]]+\\):" 1 2 nil 0))
(add-to-list 'compilation-error-regexp-alist 'kibit)
(defun kibit ()
"Run kibit on the current project.
Display the results in a hyperlinked *compilation* buffer."
(interactive)
(compile "lein kibit"))
---------------------------------------------------------------
2012-05-31 11:29:40 +02:00
Jonas Enlund
388afa57b8
Merge pull request #36 from tsdh/master
...
Suggest `while` for bindingless loop-recur
2012-05-30 07:53:15 -07:00
Tassilo Horn
7f9c5281d8
suggest while
for bindingless loop-recur
2012-05-30 15:40:58 +02:00
Jonas Enlund
976dff31b9
Merge pull request #35 from tsdh/master
...
Suggest shorthands for the first/next combinations
2012-05-30 06:37:51 -07:00