Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/detekt/detekt

Static code analysis for Kotlin
https://github.com/detekt/detekt

New ktlint rules (#2243)

* Add EnumEntryNameCase ktlint wrapper

* Add NoEmptyFirstLineInMethodBlock ktlint wrapper

79d77fe71abab90fb2ed9f7a44d3d806f1af8895 authored about 5 years ago
Fix #2230 equals() func detection (#2233)

* Fix #2230 equals() func detection

The equals() func check should assert that there is exact...

2486bfa0e926849f64dc7a8afc19e26f2289c077 authored about 5 years ago
Improve doc for UnusedPrivateMember (#2236)

398de48e45afa32df7be0d3e8f4e4cf8ac927239 authored about 5 years ago
Add disposing Kotlin environment. (#2238)

* Add disposing Kotlin environment.

* Generate documentation.

5dfe7c55f60873028c8215834ab209e95eedc779 authored about 5 years ago
Don't resolve dependencies during project configuration (#2235)

* Don't resolve dependencies during project configuration

* Use runtimeClasspath

* Pass cl...

c44f8c2f3eb2919bac6424cf5f6c0ecbc5565aba authored about 5 years ago
Revert "Introduce Pull Request Labeler (#2228)" (#2234)

This reverts commit 07f0abf51012723884e9212e1b5c7311c5018180.

4dc73ea8af0da14766846ed54cc60333534a6610 authored about 5 years ago
Add GlobalCoroutineUsage rule + coroutines ruleset (#2174)

483131df0cd7657352b46f3d768ac4063922a93b authored about 5 years ago
Fix git commit-hook label and code snippet doc (#2232)

Used *bash* instead of *shell script* because the web page didn't render it correctly.

67d0ba658763e1b5ec3ed65be0531e897d8c1216 authored about 5 years ago
Add Git detekt pre-commit hook doc (#2214)

* Add Git detekt pre-commit hook doc

The detekt integration into a Git development has been d...

43a0982328d2474cf4d3b4255dfe64fbaec887d2 authored about 5 years ago
Remove exclude workaround for new build property (#2203)

490d2fdadf38808c66bd1f56ec2f36ac00da44a5 authored about 5 years ago
Deprecate ignoreOverriddenFunction/s in favor of ignoreOverridden (#2132)

* Add deprecated to Configuration

* Mark the deprecated configurations in the documentation a...

baefc1e9809250b711e92de84f3fb12991aa0fd9 authored about 5 years ago
Introduce Pull Request Labeler (#2228)

* Introduce Pull Request Labeler

Pull request labeler triages PRs based on the paths that are...

07f0abf51012723884e9212e1b5c7311c5018180 authored about 5 years ago
Fix #2216 false-positive in MethodOverloading rule (#2221)

This fixes the case where overridden functions implemented by enum
entry were counted as multip...

15386676ce4489c3d11e5702d0f2013e32ca1a9a authored about 5 years ago
Apply ktlint formatting plugin to Gradle plugin (#2226)

01b6fe1b8ebf0fee8caa2bf1564aa803aeacdae1 authored about 5 years ago
Bump dependencies (#2225)

bb69ec1928e989866f2c58432b28a607b4d3f6bb authored about 5 years ago
Build upon default detekt config (#2227)

Fixes #2217

When a new rule is added before it's available in the version of detekt that the ...

f5d251c8f56d3af39092174c3a298f84857adc92 authored about 5 years ago
Run shadowJar & installShadowDist task with everything else (#2220)

* Run shadowJar task with everything else

Enables build cache for shadowJar task

* Run ins...

6d3a0eaf322fc09904988ead139318fb4f24ad34 authored about 5 years ago
Use consistent Java vendor (#2219)

Recommended for build cache: https://guides.gradle.org/using-build-cache/#java_version_tracking

9440bbbfdd4ba1dbd41f3cbeef15ee1c205c9f28 authored about 5 years ago
Release 1.3.1 gradle (#2212)

* Prepare 1.3.1 gradle plugin release

* Use 1.3.1 in self analysis

4e50f60748f0d890118a265cc27876aeadaf1f36 authored about 5 years ago
Prepare 1.3.1 release (#2211)

33d454ddb0308f8e80e84b58ee7c2986af4262e7 authored about 5 years ago
Remove old unused documentation (#2210)

This documentation files points to apis that don't exist now. So
it's safe to remove them.

aff91b7f7c86b90fd90293df7af1f0736c7048fb authored about 5 years ago
Use compileAndLint (#2208)

e2ad7ffd3ede657c359994656d4fb7c39769d92b authored about 5 years ago
Show code snippet erros in html reports (#2209)

* Revert "Fix StringIndexOutOfBoundsException when generating HTML report (#2160)"

This rever...

5f3b47e9299c26e80eefb53a3663f7ebef6537e4 authored about 5 years ago
Document how to create a common baseline file for multi module gradle projects - Closes #2100 (#2140)

239656f81f7a4dee07befbc96a825580537e2c6a authored about 5 years ago
Fix false positive in UnusedPrivateClass (#2207)

This commit adds the case when a class is used as type argument in a generic function

3d4ea243bafb09c1970f64e0391ed24bd7ddadec authored about 5 years ago
Update readme promoting new properties of the gradle plugin (#2205)

a16022ba682c8ec8d7dc6b86711a235592bfebde authored about 5 years ago
Rename default const containing _ACCEPTED_ (#2204)

Fixes #2202

2998a5d6c31aa2f425719fdf117d03b262da9034 authored about 5 years ago
Type resolution doc (#2198)

* Add Gradle Kotlin DSL type resolution doc

* Add Groovy Kotlin DSL type resolution doc

* ...

edd1a6ae9177fcd3f4fa31df4a9ccee79694c61c authored about 5 years ago
Exclude yet unknown new build property (#2201)

b691ce2e978ff9fe7642faf75aadfd62725b33cc authored about 5 years ago
ForbiddenMethod Rule (#1954)

Add a rule to identify call site of forbidden methods
specified by the user in the Detekt confi...

6b7bccfa41ca26e9a89beb981d91af23b136a259 authored about 5 years ago
Attach FILE_PATH_USER_DATA_KEY user data on FormattingRules (#2194)

This fixes rules such as `Filename` and other that require
the FILE_PATH_USER_DATA_KEY user dat...

ccbbb72e3ac29942c0cffd0acd8fcfd7e0b2c927 authored about 5 years ago
Refactor MagicNumber to use commaSeparatedPatterns (#2195)

0d8895e8c2e78826004e0673aea777e72cea9a19 authored about 5 years ago
Use shorthand syntax for assertThat() (#2196)

323a0cfc84be879b49acca58cc726c3c6be11dd3 authored about 5 years ago
Correct indentation for Groovy DSL doc (#2197)

05f9d74dd8f01830d7b7f73ce99adc2f27d246c1 authored about 5 years ago
Add comment regarding type resolution to README (#2199)

* Add comment regarding type resolution to README

* Rename gradle to Gradle

ca5d549060bd9c18c98d5519234b7ffea2aff6b7 authored about 5 years ago
Handle invalid config exit code in gradle plugin (#2193)

* Handle invalid config exit code in gradle plugin - #2168

* Update exit code documentation f...

aa210869b38ae6b083dc0e7f4a6dbd8849cc7458 authored about 5 years ago
Add tests showing how to exclude custom config properties in plugins (#2192)

* Add tests showing how to exclude custom plugin properties in configuration files - #2169

* ...

10f97d2f590dc36b84690bed146ed8f01f82591e authored about 5 years ago
Fix suppression of KtLint rules on file level - #2179 (#2191)

ceb64e63c99f96eb5dfdbac6d69e76b061ac89e6 authored about 5 years ago
Do not report auto-corrected formatting issues (#1840)

* Remove deprecated autoCorrect from test/resources

* Do not report auto-corrected formatting...

59d6b430b50f456d00dca8f5ac958bc4f794d279 authored about 5 years ago
Mention needed library kotlinx.html from jcenter - #2146 (#2190)

a754335bc9fea42d13cbb26adbeddab68b84ebe5 authored about 5 years ago
Prepare 1.3 gradle plugin release (#2189)

* Prepare 1.3.0 gradle plugin release

* Use newest detekt version

5027573f719585409cc4f6996af6d41c88059838 authored about 5 years ago
Prepare 1.3.0 release (#2165)

e8ec25b99b79bee89821580f2b530a76d1d53c2c authored about 5 years ago
Add printers to the command line runner (#2188)

* Add printers to the command line runner.

* Reformat.

* Fix RunnerSpec compilation.

* ...

e3c59a128107356dc6b7778aff21fcb9f1b43fd1 authored about 5 years ago
Create rule: ForbiddenPublicDataClass (#2117)

* Create ForbiddenPublicDataClass rule

* Update documentation

* Add ignorePackages to Forb...

4d18d3b0893decd1b4ad075c2e791b19eac0550c authored about 5 years ago
Fix documentation of UseArrayLiteralsInAnnotations (#2186)

62b8680bfd060574d3d8a358395d6f230e5d23f4 authored about 5 years ago
Use JDK 11 (LTS) + 13 for AppVeyor builds (#2141)

* Use JDK 11 (LTS) + 13 for AppVeyor builds

* Drop JDK 11 on AppVeyor

156545ba1f643e06039af9a784e3a59b94df5802 authored about 5 years ago
Fix exception when running ArrayPrimitive on star-projected arrays (#2181)

Closes #2176

e25a2c14d16d2abfdaa0229b23a5b8fa27e21913 authored about 5 years ago
Inline resolving severity label for XML reports. (#2184)

ebe6ac5a6faae12e32316f1c9797e789ee10aa43 authored about 5 years ago
Fix Detekt gradle task cache restoration issue (#2180) (#2182)

`Detekt` gradle task is marked as `@CacheableTask` but its input source files are
marked with `...

f04c215a8fd5dc00b442acaf1a13a92e53da85df authored about 5 years ago
Extract common jvm target value, add jvmTarget into documentation. Close #2157 (#2183)

6816da044a55e967bd897176302b491febaa39b0 authored about 5 years ago
Add MacOS JDK13 build job to TravisCI (#2177)

* Add MacOS JDK13 build job to TravisCI

Docs:
https://docs.travis-ci.com/user/reference/osx/...

5f41ea56e1915b86271bfefdcc7b68e7650e6cab authored about 5 years ago
Update Spek to v2.0.9 (#2173)

Changelog:
https://github.com/spekframework/spek/releases/tag/2.0.9

280eab8adbb034371c8ea69725bf88e66264e718 authored about 5 years ago
UnsafeCast: update documentation to match new behavior (#2164)

* Update documentation on UnsafeCast

* generate the documentation

8f566482f1b7c3e8102f663e76cd9186ad512fd1 authored about 5 years ago
Create Rule: MapGetWithNotNullAssertionOperator (#2171)

* Implement MapGetWithNotNullAssert rule

* CR: fix indents at MapGetWithNotNullAssertSpec, up...

d08e13ca5a9e8abda219a28dca5d8b64605f9692 authored about 5 years ago
Create UnnecessaryAnnotationUseSiteTargetRule (#2099)

* Create UnnecessaryAnnotationUseSiteTargetRule

* Add code to allow to escape `@property`

...

ffbd6e119105f6e07d686bc5632f7b531bf91a59 authored about 5 years ago
Fix StringIndexOutOfBoundsException when generating HTML report (#2160)

b7584764a7b0e894efe615a38993d62f2cede520 authored about 5 years ago
Restore KotlinExtension (#2159)

Restore the extension with a deprecation warning.

See #2152

695a6fc9bc665db0d54ee7151070541e5df7198f authored about 5 years ago
Use JDK 11 (LTS) + 13 for Travis builds (#2142)

43737486f704e244380ddab1b183686ad1cfbad8 authored about 5 years ago
Document how to exclude detekt from the check task - #1894 (#2144)

* Document how to exclude detekt from the check task - #1894

* Use capital letter for detekt

3e673c82c8134c293de70c3ea7572636357d64e5 authored about 5 years ago
Updated to correct classpath for Android projects. (#2149)

It appears that the classpath for adding the detekt-gradle-plugin changed several months ago but...

2af3fe204df949f6fabe76267306e4af9caa74c9 authored about 5 years ago
Update to Kotlin v1.3.61 (#2147)

Release notes:
https://github.com/JetBrains/kotlin/releases/tag/v1.3.61

074c06548ad517635659ab510d447d923233ec66 authored about 5 years ago
Run Gradle 5 tests only for JDK versions < 13 (#2143)

* Run Gradle 5 tests only for JDK versions < 13

* Refactor GetGradleVersion logic for test

d6ceb596d1bdecec70846795be13928ef031b557 authored about 5 years ago
Don't compile test snippets (bindingContext) (#2137)

follow-up: #2105

This further speeds up detekt's CI and the tests runs on our local dev machi...

287afba92e07272ca46017907500fa70d813b13f authored about 5 years ago
Use 1.2.1 for CI

e4faf047a11d16b34ef101533ee6ada546ba41d1 authored about 5 years ago
Prepare 1.2.1 gradle plugin release

528ceb06956af10057e552980bba8c671c51b30a authored about 5 years ago
Prepare 1.2.1 release (#2145)

e67025d60d94f158e521353da57df437cc5f946b authored about 5 years ago
Test common config sections pass through config validation - Closes #2128 (#2135)

43907286ea620e8f4ed45f02296ca205e05b694a authored about 5 years ago
Simplify ConstructorParameterNaming:ignoreOverridden check (#2136)

d6848af4de021b42133fbac1083de6159639ff6e authored about 5 years ago
Add config flag ignoreOverridden to ConstructorParameterNaming (#2097)

* Add ignore override in constructor parameters

* Regenerate documentation

0e8c7e7e2b966d62d572b7bbbc3bcdb0876b3531 authored about 5 years ago
MemberNameEqualsClassName should ignore overridden property names too (#2104)

* Split failing tests in MemberNameEqualsClassNameSpec

* Add missing test to check ignoreOver...

b588cd7a26d61af5ad227d80926cc9a78027b4ea authored about 5 years ago
Return non-nullable string in DebtSumming class (#2113)

Since StringBuilder.toString() can't return null, both methods in the
DebtSumming class also ca...

518272f46f73fd543e002eb56941466e03f772b8 authored about 5 years ago
Fix MagicNumber:ignoreConstantDeclaration doc (#2116)

a93486ce4f6bf4b9fc756405219258fe0f0b2d76 authored about 5 years ago
Don't compile test snippets (#2105)

* Don't compile the snippet codes in the test by default

If you want to check that your code ...

d3b1de24b134e222e3e47a5648a18f8b69556d6d authored about 5 years ago
Kotlin 1.3.60 with fix for "Unable to load JNA library" warning (#2129)

* Update KotlinEnvironmentUtils.kt

* Kotlin 1.3.60

* Kotlin 1.3.60

* Update KotlinEnvir...

55560bb9b45ca439c20a2eee43a7f75ed759222e authored about 5 years ago
Use inline code snippets instead of case files (#2111)

This commit inlines the code snippets for the LabeledExpression rule.

506115e86d82855374e75f40b2673f409ed7783a authored about 5 years ago
Add tests for MagicNumber:ignoreLocalVariableDeclaration (#2125)

This commit adds test cases for the missing config option, which was
added in PR #2123.

58b9098546e774584713424bf241e3cf2c4c141e authored about 5 years ago
Lazy init KotlinScriptEnginePool (#2126)

This only initializes the Jsr223 KotlinScriptEngines when they are used
for the first time. Thi...

a7585e9adcd87f184f215f18611418024eba0c1b authored about 5 years ago
Add MagicNumber:ignoreLocalVariableDeclaration config (#2123)

This config option wasn't correctly documented.
The generator didn't pick it up.
Hence, the de...

d7b26794f9d92893e6151fd289d5c538ab6456ef authored about 5 years ago
Refactor TrailingWhitespace test (#2112)

* Refactor TrailingWhitespace test

* Use inline code snippets instead of case files
* Remove...

ebcef6ab7df63117ff7b9f2a7f8b12c3222bcd26 authored about 5 years ago
Fix NPE for EqualsAlwaysReturnsTrueOrFalse (#2124)

Fixes an exception that occurs when the equals method contains no
dedicated return expression.
...

532cccdbb36991cd665a7cd9a345faff5de5cb09 authored about 5 years ago
Remove redundant Javadoc (#2127)

We use Dokka as the primary documentation engine for Kotlin code.
https://github.com/Kotlin/dokka

9ecedeee2b6b0e8c2fdf20cfa1d46860ee12a6ca authored about 5 years ago
Improve naming tests (#2094)

* Fix test names

* Add missing test in EnumNamingSpec

* Split ParameterNamingSpec

* Don...

3a59a9bf53ca64a903ea8548b97b4aefc05e91f2 authored about 5 years ago
Migrate to Gradle 6 (#1902)

* Gradle 6

* Remove ProjectLayout.fileProperty usage

Removed in Gradle 6

* Remove depre...

b75cf4227afca0ca95fcf0ebea426c15a9fd7b7d authored about 5 years ago
Update dependencies (#2110)

39fd293df1d3a6efd8fe37212a5feb63f3d97e5e authored about 5 years ago
Use 1.2.0 version for self analysis

58b6f2e1234b8034367df88ff4c8c175cf4c4aff authored about 5 years ago
Release 1.2.0 version of detekt-gradle-plugin

b02a67e0ea694e528d4fc9a07c02d1bd6620a715 authored about 5 years ago
Prepare 1.2.0 release (#2092)

* Update dependencies for 1.2.0

* Generate release notes for 1.2.0

* Checkin cyclomatic co...

30952b3214272df863e81a800acb3c99e8e545b6 authored about 5 years ago
Remove osx Java 12 job due to changed travis system which pull Java 13 not compatible with Gradle 5.6 (#2121)

9385bf0962152b09b6a83ce3eedc356bfed337ad authored about 5 years ago
Revert change to calculate signature for formatting rules due to performance reasons (#2120)

Reverts #2083 and #2107

42c9c40741a6f8fb360f78dbe3118c34909ccf63 authored about 5 years ago
Fix formatting rule signatures (#2107)

* Return a KtElement if node has a valid parent file node

* Apply quickfixes to html utils

...

d732cecdaffd7486ff9cade93bdaba565f5388f2 authored about 5 years ago
UnusedPrivateClass: Fix false positive with private annotations - #2093 (#2108)

6456f838a2a3f5b1ae62758eff25b48ac7b27073 authored about 5 years ago
Update to Kotlin v1.3.60 (#2109)

Changelog:
https://github.com/JetBrains/kotlin/blob/1.3.60/ChangeLog.md

d5e5e3bd535b4dff78a0059703cbb13fa7d73feb authored about 5 years ago
UnusedImports: Fix false positive (#2106)

When referenced in @throws, @exception or @sample in Kdoc block tag

75ec65b77e7d71c8e210f4e5a9d41d8818cc723f authored about 5 years ago
Refactor ComplexMethod (#2090)

* Simplify cyclomatic complexity visitor logic - #1921

* Support couting ?:, &&, ||, continue...

6bcb42357f6e31f806322e4711d20b47ebb69c98 authored about 5 years ago
Update baseline doc to allow formatting rules (#2101)

Since detekt allows to suppress formatting issues and add them to the baseline, the docs are obs...

8765e1f3adfa2f6905772dce49d1d82be87d1c7a authored about 5 years ago
Use compileAndLint instead of lint (#2088)

* Use compileAndLint instead of lint in naming tests

* Use compileAndLint instead of lint in ...

acc7d143a583906c2ac88d04edcf17ac87cd2a03 authored about 5 years ago
Overload textLocation(String) (#2091)

1562f50b0a41e716bb9d5651500407b592ea535a authored about 5 years ago
Fix NestedBlockDepth false negative (#2086)

* Fix NestedBlockDepth

* Update detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rule...

584fe66976a20f3034a76d52f78f4a9428a74cc7 authored about 5 years ago
Fix TrailingWhitespace reported position (#2078)

* Fix test in TrailingWhitespaceSpec

* Fix TrailingWhitespace reported position

* Test mor...

fa21d2ad8b367372730605b248f7329eddb6b975 authored about 5 years ago
Deprecate Location.locationString (#2084)

* Use hasSourceLocations instead of hasLocationString

* Deprecate locationString

* Generat...

6800a8ce54994d047f881e1e85573723cd9e4eb8 authored over 5 years ago