Commit graph

329 commits

Author SHA1 Message Date
John Pignata
8ad16f3ccb Output exception details to STDERR
When an exception occurs when running a check, output debugging details
about the exception to STDERR.

The Code Climate kitbit engine wraps kibit and emits issues in JSON
for each check on STDOUT. Any unexpected content on STDOUT causes the
engine run to fail as debugging information is expected on STDERR.
This small patch moves the output of debugging information to to
STDERR.
2016-02-27 12:15:19 -05:00
Kapil Reddy
0fd16aee80 Indentation style fix 2015-08-29 18:25:01 +12:00
Kapil Reddy
0cf7a62184 Modify run and external-run to accept custom rules
Create unifier/prep'ed rules inside check-expr and check-reader. This
makes passing custom rules simpler
2015-08-29 18:25:01 +12:00
Daniel Compton
1248c27251 Add changelog not for emacs next-error support 2015-08-29 13:17:36 +12:00
Daniel Compton
b2a2d4b0fb Merge pull request #136 from brunchboy/add-kibit-helper
Refer to new kibit-helper Emacs package.
2015-05-09 09:58:08 +12:00
James Elliott
884fba531d Clarify limitation with respect to comments. 2015-05-08 11:20:28 -05:00
James Elliott
8762ea558d Refer to new kibit-helper Emacs package. 2015-05-08 11:13:15 -05:00
Daniel Compton
eada5a5f42 Merge pull request #134 from brunchboy/let-emacs-find-errors
Enable emacs' next-error function with kibit suggestions.
2015-05-06 12:22:53 +12:00
James Elliott
433f4ac277 Enable emacs' next-error function with kibit hits.
For next-error (bound by default to C-x `) to automatically take me to
the location where Kibit was reporting an issue in the *compilation*
buffer, I needed to change the alist it was using to parse the reports
so that they are marked as errors, not just information.
2015-05-05 14:36:05 -05:00
Daniel Compton
0ec086dce0 Explain changelog convention 2015-05-05 22:43:31 +12:00
Daniel Compton
3bc943b790 Add a CHANGELOG
Fixes #131
2015-05-05 22:39:08 +12:00
Daniel Compton
f780c5bb54 Bump version in README 2015-04-20 20:19:34 +12:00
Daniel Compton
f18e927534 Version 0.1.2 2015-04-20 20:10:12 +12:00
Daniel Compton
38c67870e5 Bump for next version 2015-04-20 20:09:25 +12:00
Daniel Compton
18caeec609 Version 0.1.1 2015-04-20 20:08:03 +12:00
Daniel Compton
7fdbc38296 Bump for next version 2015-04-20 20:07:53 +12:00
Daniel Compton
8a241bfa20 Version 0.1.1 2015-04-20 19:52:38 +12:00
Daniel Compton
827739254b Bump to snapshot for further development 2015-04-20 19:13:25 +12:00
Daniel Compton
44e0c766d4 Version 0.1.0 2015-04-20 18:55:17 +12:00
Daniel Compton
cee20fe7f8 Bump snapshot version and add clojars repo 2015-04-20 18:54:46 +12:00
Daniel Compton
eda1e5d2f0 Merge branch 'add-docs' 2015-04-20 18:43:22 +12:00
Daniel Compton
f433deebb3 Update kibit version to 0.1.0 in README 2015-04-20 14:45:41 +12:00
Daniel Compton
03997ac15a Merge pull request #129 2015-04-20 14:22:42 +12:00
Janos Erdos
dfa76324f7 Update collections.clj
fixed typo ?key -> ?key0
2015-04-20 14:12:16 +12:00
Daniel Compton
c6a5cfe7be Merge pull request #121 from jayp/master
Added rules for true? and false?
2015-04-20 13:52:23 +12:00
Daniel Compton
06f1de9937 Add lein-auto instructions 2015-04-20 13:40:02 +12:00
Daniel Compton
95bd6a8b98 Update core.logic to 0.8.10
Fixes #77, closes #116
2015-04-20 13:40:02 +12:00
Anton Podviaznikov
745bba80e1 Update README.md
Add badge for the dependencies status.
2015-04-20 13:40:01 +12:00
Daniel Compton
556981ce94 Handle directories passed on command line 2015-04-20 13:40:01 +12:00
Daniel Compton
10ee6bd63c Add tests for class symbols 2015-04-20 13:40:01 +12:00
Daniel Compton
34e19e7b2a Upgrade core.logic dependency to 0.8.9
Also upgrade tools.cli, and lein-marginalia
2015-04-20 13:40:01 +12:00
Daniel Compton
5366ed58d9 Merge pull request #130 from jonase/update-core-logic
Update core.logic to 0.8.10
2015-04-20 13:20:32 +12:00
Daniel Compton
a607604a86 Update core.logic to 0.8.10
Fixes #77, closes #116
2015-04-20 13:15:46 +12:00
Lukasz Kozuchowski
93f46582b3 Bug fix: wrong simplifications of (assoc ... (assoc ... 2015-04-11 12:47:07 +02:00
Jay A. Patel
c969207892 Added rules for true? and false?
Instead of (= true ?x), consider (true? ?x). Same for false?
2014-12-19 19:05:48 -08:00
Daniel Compton
5977fef261 Merge pull request #120 from podviaznikov/patch-1
Update README.md
2014-12-15 21:32:27 +01:00
Anton Podviaznikov
cb03e4adea Update README.md
Add badge for the dependencies status.
2014-12-15 12:30:51 -08:00
Daniel Compton
1f0c5b0fa1 Document :cljsbuild and :cljx source-paths 2014-11-26 08:50:20 +13:00
Daniel Compton
1bdd691f14 Expand the folder/file argument examples 2014-11-26 08:35:51 +13:00
Daniel Compton
5f85a32955 Handle directories passed on command line 2014-11-26 08:29:31 +13:00
Daniel Compton
b76a1f4965 Add tests for class symbols 2014-11-25 15:41:46 +13:00
Daniel Compton
804e8bccf2 Update docs for 0.1.0 2014-11-25 15:10:57 +13:00
Daniel Compton
3c85edec18 Merge pull request #105 from jonase/upgrade-deps
Update dependencies
2014-11-25 14:46:39 +13:00
Daniel Compton
2220f694f1 Upgrade core.logic dependency to 0.8.9
Also upgrade tools.cli, and lein-marginalia
2014-11-25 14:45:39 +13:00
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