4341 Commits

Author SHA1 Message Date
abosch
e01566f08e Allow to save findings in a file - Closes#77 2017-01-02 17:17:32 +01:00
abosch
ff378d5d86 Allow to specify fail/warning threshold for cli - Closes#75 2017-01-02 16:13:39 +01:00
abosch
ead0f86deb First attempt to fail builds on smell threshold 2016-12-22 23:45:29 +01:00
abosch
78a52c4e9a Use javaClass.classLoader as parent loader for detekt's plugin loader 2016-12-19 22:41:18 +01:00
abosch
acf77c6144 Increment to next milestone: 6 2016-12-19 22:40:34 +01:00
abosch
c5adafb510 Increment to milestone 5 2016-12-07 01:24:52 +01:00
Artur Bosch
181a666901 Link to new milestone 6 2016-12-07 00:00:56 +00:00
abosch
c8d92f979d Write a changelog for all milestones - Closes#71 M5 2016-12-07 00:55:47 +01:00
abosch
6b0feaadad Allow variables inside object declaration to be uppercase and with underscores - Closes#67 2016-12-07 00:16:36 +01:00
abosch
4b88ec5937 Mention all rule sets in default config 2016-12-07 00:00:07 +01:00
abosch
0f1695ef8b Move Underestimated text length fix method to Junk - #65 2016-12-06 23:59:40 +01:00
abosch
ed7b1bcd69 Extract ktFile related methods in own file - Closes#66 2016-12-06 23:33:25 +01:00
abosch
0af31e810e Ignore top level members as they have no declared class or object - Closes#64 2016-12-06 21:24:18 +01:00
abosch
9bf743f46e Normalize file content before creating ktFile preventing nested exceptions within psi tree - Closes#66 2016-12-06 18:59:40 +01:00
abosch
1434390e78 Recover from "Underestimated text length"-Problem - Closes#65 2016-12-05 16:49:30 +01:00
abosch
bf4e9cc7a2 Check ktFiles without classes in LargeClass- and EqualsWithHashCodeExist-rules - Closes#64 2016-12-05 15:59:41 +01:00
abosch
d31a9232fc Remove compile for test in KtCompiler 2016-12-05 14:58:56 +01:00
abosch
3cd4c33292 Create a new ruleset instance for every analyzing ktFile to prevent mutability - #2 2016-12-05 14:56:25 +01:00
abosch
bcc20232ae Fix build caused by JunitPlatform M3 - Closes#63 M4 2016-12-01 23:08:13 +01:00
abosch
6cb04338e4 Allow underscores in constant variable names - Closes#62 2016-12-01 18:05:20 +01:00
abosch
28bafdded9 Rewrite UnusedImports as KtLint version did not considered infix extension functions - Closes#60 2016-12-01 17:45:21 +01:00
abosch
d9a8c9ac88 Document how to run detekt in a maven project using anttask - Closes#39 2016-11-24 15:38:52 +01:00
abosch
4ee2c184e5 Increment version to M4 and use kotlin 1.0.5-2 2016-11-24 15:38:19 +01:00
abosch
f8ec56d3b0 Use Executors.newFixedThreadPool instead of common thread pool - Closes#53 2016-11-24 12:52:37 +01:00
abosch
ad8f7e78c9 Introduce --parallel, --useTabs, --format parameters for CLI - Closes#46, Closes#54 2016-11-24 12:32:30 +01:00
Artur Bosch
07b15bdf99 Add awesome-kotlin badge 2016-11-16 15:04:36 +00:00
abosch
a2c671be73 Lower threshold for complex methods to 6 M3 2016-11-16 13:26:22 +01:00
abosch
47f563a90e Update to milestone 3 - Closes#58 2016-11-16 13:26:11 +01:00
abosch
edc84cfbf5 Add screenshot 'detekt in action' - #57, #56 2016-11-16 12:19:07 +01:00
abosch
fc0d95e616 Write formatting section - #57, #56 2016-11-16 12:07:47 +01:00
abosch
8d5397f49c Include detekt-gradle-plugin in build - #24 2016-11-16 09:47:33 +01:00
abosch
ded90daba2 Remove deep nesting - Closes#49 2016-11-15 23:19:14 +01:00
abosch
d24c783633 Only modify file if trailing spaces are found - Closes#49 2016-11-15 18:00:17 +01:00
abosch
19ee72f777 Introduce useTabs keyword in configuration - Closes#56 2016-11-15 17:15:04 +01:00
abosch
bc737f4baa Fix spacing after catch keyword - Closes#44 2016-11-15 17:13:14 +01:00
abosch
d804855445 Escape NullPointer when project and subPath are the same for single file KtTreeCompiler compilation - Closes#55 2016-11-15 14:01:48 +01:00
abosch
a53bdd44a3 Upgrade to kotlin 1.0.5 - Closes#52 2016-11-15 13:43:53 +01:00
abosch
7eeb2af417 Metion detekt-test in readme - Closes#51 2016-11-15 13:42:00 +01:00
abosch
d8da8d0d4b Mark SpacingAroundCurlyBraces as unstable as adding findings is disabled by to wrong line/column calculation of idea - #47 2016-11-15 13:41:27 +01:00
abosch
5fe8d9e95c Correct line/column calculation of formatting rules - Closes#50 2016-11-15 13:40:03 +01:00
abosch
ac0529bb72 Deprecate detekt-rules compile method - #48 2016-11-15 10:12:46 +01:00
abosch
766ee6a0e0 Deprecate detekt-rules compile method - #48 2016-11-15 10:11:29 +01:00
abosch
3198b2c937 Move unstable to own class - #48 2016-11-15 10:09:37 +01:00
abosch
113a6ca57c Stop using old test compile methods of detekt-api and detekt-rules - Closes#48 2016-11-15 10:08:16 +01:00
abosch
5bfa339759 Deprecate old methods for rule testing in detekt-api, they will be removed in next milestone - Closes#45 2016-11-15 10:07:18 +01:00
abosch
e98698f72e Allow to sub class KtCompiler - Closes#45 2016-11-15 10:06:29 +01:00
abosch
968ec49746 Add new detekt test module - Closes#45 2016-11-15 10:05:20 +01:00
abosch
c662183d33 Disable trailing spaces test case - #49 2016-11-14 22:15:09 +01:00
abosch
53eb1cf952 Comment auto correct of trailing spaces as they modify the underlying file each time - #49 2016-11-14 22:13:40 +01:00
abosch
2b6e715189 Finish migrating formatting test cases - Closes#41 2016-11-14 21:49:21 +01:00