detekt v1.6.0 Release Notes
Release Date: 2020-02-26 // about 4 years ago-
Migration
Rule set authors do not need to exclude their rule set from config validation anymore.
0๏ธโฃ This will be done by default now.If you need to include further config property checks, give the new
ConfigValidator
api a try.๐ Changelog
- ๐ Check-in ConfigValidator documentation - #2368
- โ Remove obsolete PathFilter class - #2367
- Reference coroutines doc for homepage - #2363
- ๐ [Documentation Request] Coroutine Ruleset - #2362
- Extend AnnotationExcluder to catch fully qualified annotations - #2361
- UnnecessaryAbstractClass excludeAnnotatedClasses not working - #2360
- Replace LinkedList with ArrayDeque - #2358
- ๐ Fix detection of CRLF line endings - #2357
- Introduce new ConfigValidator extensions - #2285 - #2356
- ๐ Include options to better meet requirements for utility files - #2355
- Don't normalize file content twice - #2354
- โ Remove unused code in rules/Case.kt - #2351
- โ Add blog post about speeding up a detekt task - #2349
- โ Add tests for setting KtLint's config - #2348
- โ add details into internal validation - #2347
- ๐ Minor change in the HTML report: Remove extra space when you copy the file path - #2344
- detekt does not always inject the required EDITOR_CONFIG_USER_DATA_KEY for ktlint - #2339
- โ Remove duplicate tests for TooManyFunctions rule - #2338
- โ Add EmptyTryBlock rule - #2337
- ๐ Use requireNotNull for arguments checking - #2336
- ๐จ Refactor and add tests to Ast- and ElementPrinter - #2335
- โ Add test case for disabled reports - #2334
- ๐จ Refactor ReportPath:load() - #2333
- โ Add test case for FileProcessorLocator - #2332
- โ Add test cases for Kt(Tree)Compiler - #2331
- โ Add equality test cases for PathFiler - #2330
- โ Add local function test case for MethodOverloading rule - #2328
- โ Add anonymous object expression test case for MethodOverloading rule - #2327
- Validate Gradle Wrapper - #2326
- ๐ Use more consistent metrics in HtmlReport - #2325
- ๐ Fix ClassCastException in ExplicitCollectionElementAccessMethod - #2323
- ExplicitCollectionElementAccessMethod crashes - #2322
- 0๏ธโฃ use same behaviour for valueOrNull as for valueOrDefault - #2319
- FailFastConfig.valueOrNull should return specified value for active and maxIssues - #2316
- ๐ Bugfix: MagicNumber with ignoreNamedArgument and a negative value - #2315
- More consistent reports - #2291
- ๐ Change MatchingDeclarationName to handle utility files - #1500
- False-positive MagicNumber issue reported when using negative numbers - #530
๐ See all issues at: 1.6.0