Commit graph

335 commits

Author SHA1 Message Date
Daniel Compton
575b64a599 Merge pull request #106 from thomasmulvaney/fix-java-tests
Eval to make java based tests pass
2014-11-24 12:05:08 +13:00
Daniel Compton
99d0d81009 Merge pull request #109 from jonase/exit-code
Return exit-code 1 when suggestions are found
2014-11-24 11:30:25 +13:00
Daniel Compton
f2afaf3226 Return all suggestions when calling driver/run
Added external-run function to be used by lein-kibit to exit non-zero
when suggestions are found.

Relates to #88
2014-11-24 10:39:58 +13:00
Daniel Compton
a91c9411e7 Add docs on using custom reporters 2014-11-24 10:29:12 +13:00
Daniel Compton
e798bcd4d2 Merge pull request #108 from jonase/spelling
Clean up spelling and unused import
2014-11-24 08:05:34 +13:00
Daniel Compton
e858d059a5 Clean up spelling and unused import 2014-11-22 20:57:41 +13:00
Daniel Compton
5f5b34759d Merge branch 'javalangmath-fns' 2014-11-12 09:57:03 +13:00
Daniel Compton
087a6753a1 Remove Math/pow rules until we can add metadata
to them. Math/pow always returns a Double, where (* x y) will return a
Long if x and y are both Long. Once we have metadata available we can
add a comment warning people about this and add the Math/pow
transformations back in.
2014-11-12 09:53:49 +13:00
Linus Ericsson
5f442bc393 added java.lang.Math-functions pow, hypot, round, expm1 and trivial identities 2014-11-12 09:39:34 +13:00
Daniel Compton
e6ea25ec49 Add clean and compile steps in Travis CI 2014-11-11 01:04:07 +13:00
Thomas Mulvaney
af4f1d541d Eval to make java based tests pass 2014-11-09 02:41:03 +11:00
Daniel Compton
cc6b4dd509 Merge pull request #95 from thomasmulvaney/missing-neg-case
Added missing negative case
2014-11-08 22:14:46 +13:00
Daniel Compton
59ddd05499 Update README with spelling and syntax 2014-11-08 21:53:08 +13:00
Daniel Compton
a645c112fe Merge pull request #104 from jonase/add-build-matrix
Add Travis JDK build matrix
2014-11-08 21:29:07 +13:00
Daniel Compton
edc1840125 Add JDK build matrix 2014-11-08 21:27:41 +13:00
Daniel Compton
3760b33933 Merge pull request #101 from danielcompton/add-travis
Add Travis CI and README image
2014-11-08 20:59:00 +13:00
Daniel Compton
f5930c2658 Merge pull request #102 from danielcompton/add-clojurescript
Add clojurescript, cljx, e.t.c. support
2014-11-08 20:56:17 +13:00
Daniel Compton
514c5871cc Add clojurescript, cljx, e.t.c. support
Fixes #67
2014-09-24 23:05:47 +12:00
Daniel Compton
64d319a839 Add Travis CI and README image 2014-09-24 22:54:45 +12:00
Jonas Enlund
4f41372520 Merge pull request #99 from danielcompton/fix-41
Add double-negative rule
2014-09-11 07:54:58 +02:00
Daniel Compton
c94caefbe6 Add double-negative rule
Fixes #41, code provided by @LiamGoodacre
2014-09-11 17:23:22 +12:00
Jonas Enlund
d7c9785b5e Merge pull request #97 from maacl/master
Suggested rules and tests to recommend use of assoc-in instead of nested calls to assoc.
2014-07-23 14:43:36 +03:00
Martin Clausen
ac07e8d4f4 Update collections.clj
Added rules for nested calls to assoc to recommend assoc-in, instead of the more generic update-in.
2014-07-22 23:15:21 +02:00
Martin Clausen
39365cf7e4 Update collections.clj
Added tests for nested calls to assoc.
2014-07-22 23:14:03 +02:00
Thomas Mulvaney
f8a67a390d Added missing negative case 2014-06-26 14:33:44 +02:00
Jonas Enlund
318820521a Merge pull request #94 from jennifersmith/fix_equality_test
Fixing equality test
2014-05-03 14:08:31 +03:00
Jennifer Smith
681a86d641 Fixes the equality tests which were suggesting a pos? replacement for <= x 1 . This rule was removed in ab491e3 as it didn't work for float comparison. 2014-05-03 19:52:03 +10:00
Jonas Enlund
9ce9f80661 Merge pull request #81 from borkdude/master
Added a rule to match if-not/do -> when-not
2014-05-01 16:44:08 +03:00
Jonas Enlund
71d490f7ff Merge pull request #93 from carlhoerberg/patch-1
Clojure 1.6.0
2014-05-01 16:43:01 +03:00
Jonas Enlund
3c85082a6e Merge pull request #91 from TAllen/master
Implemented issue #90 (if ?x ?x ?y) -> (or ?x ?y)
2014-05-01 16:42:37 +03:00
Carl Hörberg
7f32703f3f Clojure 1.6.0 2014-05-01 09:03:31 +08:00
TAllen
8b5c63365c Fixed a place that kibit had a better suggestion for. 2014-04-04 02:38:00 -07:00
TAllen
16c230d5df Implemented issue #90 (if ?x ?x ?y) -> (or ?x ?y) 2014-04-04 01:45:25 -07:00
Jonas Enlund
821698651d Merge pull request #87 from danielribeiro/master
Added clojure syntax color to Readme
2013-11-06 02:07:54 -08:00
Daniel Ribeiro
f0b184611b now with clojure syntax color 2013-11-05 22:52:15 -08:00
Jonas Enlund
be474ba61d Merge pull request #86 from clumsyjedi/master
expect source-paths, not project from the caller
2013-09-25 08:56:33 -07:00
Fraz
64ca92ba6e expect source-paths, not project from the caller 2013-09-25 15:55:16 +01:00
Jonas Enlund
983fb5fc92 link to slides on the rule system 2013-04-18 21:28:13 +03:00
Michiel Borkent
c6c6a9f971 Added rule to match if-not/do -> when-not 2013-03-17 15:27:04 +01:00
Jonas Enlund
3d0c2077ae Merge pull request #79 from ragnard/kibit-it
Fix invalid require in ns form
2013-03-14 05:34:41 -07:00
Ragnar Dahlén
402fcd08e6 Fix invalid require in ns form 2013-03-14 11:51:53 +00:00
Jonas Enlund
af32ba6ced add .lein-repl-history and .lein-env to .gitignore 2013-03-11 10:33:13 +02:00
Jonas Enlund
61c5f27f13 Compile rules at runtime 2013-03-11 09:00:23 +02:00
Jonas Enlund
665fbc26ef Removed redundant call to logic/prep 2013-03-10 19:33:44 +02:00
Jonas Enlund
19c326ad4b Release 0.0.8 2013-03-09 21:48:13 +02:00
Jonas Enlund
c69bc03896 Merge pull request #76 from ragnard/kibit-it
Two minor improvements
2013-03-08 08:53:20 -08:00
Ragnar Dahlén
c79c31dc2e Also return :columns as part of result map 2013-03-08 08:09:47 +00:00
Ragnar Dahlén
787ec1a63a Bump clojure and core.logic deps 2013-03-08 08:09:29 +00:00
Jonas Enlund
0e67ee2d4b Merge pull request #75 from bostonaholic/master
Run kibit on a single file within Emacs
2013-03-05 19:44:27 -08:00
Matthew Boston
88c6e934c6 example showing how to configure emacs for running kibit on a single file 2013-03-05 17:20:04 -05:00