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

Allow to suppress formatting issues and add them to the baseline - #1906 (#2083)

bd62c6aab1fb52157778a5699b4284b38339a898 authored over 5 years ago
Add license badge to README (#2080)

478cef70e031dc66326cd70a17562719e0403d42 authored over 5 years ago
Activate more rules by default - #1911 (#2075)

12207483ec1b6eb0898617fcf8529683dc6fcf68 authored over 5 years ago
Deploy SNAPSHOTs automatically (#2079)

I just added the execution permission to the file .buildscript/deploy_snapshot.sh with chmod +x ...

92ddf1d1ab8bcc61840641f15a02c0618708dea8 authored over 5 years ago
Report InvalidRange for empty until range (#2074)

This commit handles the case where both given values in the until
function are equal. Closes #2...

3590c9b99061e8a7ef34586d6a7f867c095d1024 authored over 5 years ago
Add complexity report to html output (#2071)

* Add complexity report summary to html output

* Fixes to conform to kotlin codestyle guideli...

85c93eae4c56818c883a176712f3717d0c4afee0 authored over 5 years ago
Deprecate properties on Entity - Closes #2014 (#2072)

* Deprecate properties on Entity - Closes #2014

* Suppress deprecations for build to pass

8b11f1d497c2c3496ce8cf0b81f1b5f60496371c authored over 5 years ago
Validate yaml configurations by comparing their structure - #516 (#1998)

* Validate yaml configurations by comparing their structure - #516

* Towards supporting compo...

6c3795554f24377920664bb08833202679c8a3d4 authored over 5 years ago
Improve TextLocation for LongMethod (#2061)

e8111c3454c7a97ec6fd00223fa79a5478341d62 authored over 5 years ago
Improve text location: ComplexMethod (#2059)

* Fix name

* Improve TextLocation for ComplexMethod

7014dfbf80aadbdf5bbd609b78279e68f64ef61a authored over 5 years ago
Improve TextLocation for LargeClass (#2060)

8837fa1b09a930b7ae4a0ed0d9aaea75ecbb456c authored over 5 years ago
Improve text location: MatchingDeclarationName (#2062)

* Use trimIndent() in MatchingDeclarationNameSpec

* Add test to ensure that @Suppress works i...

07976a5f1f6d88f86fa89d9fe9cf78ff05031e8f authored over 5 years ago
Do not flag empty default functions - Closes #1926

c0686c8e03d6e7fdc76e47dbf53ccd0eda6fc589 authored over 5 years ago
Improve TextLocation for OptionalAbstractKeyword (#2064)

120f1ef8650b6e2ba50635d87eb5a45a2da4db5a authored over 5 years ago
Improve TextLocation for TooManyFunctions (#2065)

d7088791a6d2a075202570ce87f1bba8c0413c59 authored over 5 years ago
Use constants for config keys in tests (#2070)

* Use constants for config keys in tests

* Move constant to test file

56053aea768fd57de023e84856ffedc4e75e4a84 authored over 5 years ago
Fix issues running detektMain/detektTest tasks (#2069)

72f2225d7f56ab38752899b233f8952e06bdf0c7 authored over 5 years ago
Update dependencies (#2031)

* Update dependencies

* Remove usage of deprecated `before` method

* Regenerate docs

f5a8086bd18942d6d92f4cbad4eeeb80534a699e authored over 5 years ago
Fix #2021 (#2032)

* Fix #2021

* minor refactor

* fix typo

fc9fdca4980fd33c891b2e718e23648e03d6e9ef authored over 5 years ago
Improve TextLocation for NestedBlockDepth (#2063)

2633e1c24084098cb25759e8b2f338b0cba779ab authored over 5 years ago
Improve TextLocation for EmptyClassBlock (#2058)

b0dc63226d33861b18b2d57e841fe3cc48ab721d authored over 5 years ago
Support guard clause exclusion for ThrowsCount rule (#2025)

* Support guard clause exclusion for ThrowsCount rule

* Fix feedback issues

12c773892bf61f82ff2cae31160eaa6cecd7e1ba authored over 5 years ago
Improve text location: MandatoryBracesIfStatements (#2051)

* Split MandatoryBracesIfStatementsSpec in smaller tests

* Add missing tests at MandatoryBrac...

0c24d9efdb59c9ce7a0184a50701718e4efa282e authored over 5 years ago
Fix MaxLineLength error (#2066)

2717a5297d308e016389f4199e4ba2d4c25a439d authored over 5 years ago
Replace spek test hasSize(0) with isEmpty() (#2057)

Since it came up in recent PRs, a bash cmd automatically replaced that.

find . -type f -name ...

4963a5ad864088d135dd27c5812daa59ee7159a0 authored over 5 years ago
Remove MacOS JDK11 CI run as discussed in #2015 (#2056)

* Remove MacOS JDK11 CI run as discussed in #2015

* Decrease codecov successful CI notificati...

b922c4e48bda8942071d4f4fb90cadcf4f4eada4 authored over 5 years ago
Introduces mocking library 'mockk' (#2055)

This removes some boilerplate code from the HtmlOuputFormatTest
introduced by #1975.

675fd12feba4973e7dcd782d03656766ed61573b authored over 5 years ago
Improve TextLocation for InvalidPackageDeclaration (#2052)

e2eaf3e2812564b41bd8cc260fe0d50170cd6224 authored over 5 years ago
Improve text location: ClassNaming (#2050)

* DRY in VariableNaming, TopLevelPropertyNaming and ObjectPropertyNaming

* Simplify tests. Al...

6570c15e3b2f1e8c819e23244552476268c40ae4 authored over 5 years ago
Don't checkBuildFailureThreshold if we are creating the baseline (#2034)

57ce95e08b660081b806f252acbd6ecdf3baeb5d authored over 5 years ago
Regenerate documentation (#2054)

d12a4d000dece370a6854f055ef93bd00d5d40eb authored over 5 years ago
Ensure dokka runs when generating docs (#2030)

* Ensure dokka runs when generating docs

* Regenerate docs

310782a8de78fec7f57bc260cd8727d5642c2c91 authored over 5 years ago
Add ImplicitDefaultLocale rule (#2024)

* Add ImplicitDefaultLocale rule

* fixup! Add ImplicitDefaultLocale rule

* fixup! Add Impl...

88540afbe9f774883e8422c8521e77805f3bcf53 authored over 5 years ago
Allow detekt findings to be suppessed with rule set id - Closes #766 (#1994)

* Allow detekt findings to be suppessed with rule set id - Closes #766

* Do not use deprecate...

c6ff7112b0b33afdf62e043075d67508c9e1e5b9 authored over 5 years ago
Add snippet code in html report (#1975)

* Rename it to finding

* Add snippet code in html report

* Add instegration test

* Impr...

d31e162b1bdbcad8a6473a9f0c91a25f06182ef1 authored over 5 years ago
Findings assertions (#1978)

* Add hasTextLocation in FindingsAssertions

* Use hasSourceLocations

97c7ed521f2fa432cd2c1e7a71ac3395ec937fe9 authored over 5 years ago
Dont check WrongEqualsTypeParameter if the function is topLevel (#2027)

4790a9ba8a1af85c6af6120ded757dead9af824f authored over 5 years ago
Reimplement parallelism internal logic (#1991)

* Reimplement --parallel logic

Using the common thread pool may have lead to starvation when...

65c791b2a0edc128997252421fdf0469ef652643 authored over 5 years ago
Fix false positive at EmptyIfBlock (#2026)

07f2bbe6fb36963ea090c58a81b3b6719cdda0ae authored over 5 years ago
Simplify and refactor RuleProviderTest (#2029)

* Elaborate on test case description
* Add fail message that includes the rule causing the test...

63349fa7e9a5fe52d8ac665b1399d59143ce3251 authored over 5 years ago
Simplify MultiRuleCollector test cases (#2028)

92cdf17eabab3dcb83096ad47ba34062dabf9348 authored over 5 years ago
Use double backtick for the in-line code (#2022)

One of our regex has the char ` on it. So it breaks the formating.
If we use double backtick fo...

d99550dcabaa0f45536a2f6713ea47efe450fe06 authored over 5 years ago
Fix master by suppressing ComplexMethod for now (#2023)

38561d08df2629152a93030eb479c31e05159ea5 authored over 5 years ago
Better handling for the Suppresion of errors (#2013)

80eaef01f899c2df2af6083a141fdd3fdd08f683 authored over 5 years ago
Ignore sealed classes for utility class having public constructor rule check (#2016)

1f3439fb253be37f03c0d99a2b8b303ddb3d7298 authored over 5 years ago
Enable more rules in failfast (#1935)

* Enable more rules in failfast

This enables more rules when running the detekt task on detek...

a367813c3430ce9bac3a5b34a2f4909dae9cefbe authored over 5 years ago
Initial MCC change (#1793)

* Initial MCC change

reference https://www.ndepend.com/docs/code-metrics#CC

* Update MCC a...

687d7ac0bbbcac42aa41345f852d7913a8b5a515 authored over 5 years ago
Change reported element in 2 documentation rules (#1952)

This may break users baseline.
See #1935

6ac3457dcda40aa8047b322def725addf90bbfa4 authored over 5 years ago
Upgrade Spek to v2.0.8 (#1992)

* Upgrade Spek to v2.0.8

* Disable Spek timeouts

* Fix Spek exceptions with by memoized cl...

b048c6bbfde59bc714ddad3a02a4b0bdd4908ef8 authored over 5 years ago
Fix description of NoLineBreakBeforeAssignment (#2011)

7c6b1dfb384297546b2358c1fa5396efcc004828 authored over 5 years ago
Update readme to comply with GitHub flavored md (#2002)

d907933ba9f539853cd54ba97caaf12e5bb9c8db authored over 5 years ago
Allow the user to collapse the rules in the html report (#1997)

* Fix tests

* Use kotlinx.html instead of HtmlSnippet

* Use kotlin forEach

* Split code...

fa922e259605b77f561c4229eccc6decbd156f73 authored over 5 years ago
Fix EnumNaming textLocation (#1977)

ed7b17d1b1ccabbfa61089f1cb5853164b941c15 authored over 5 years ago
Prepare 1.1.1 bugfix release (#2004)

13637bf8680f1df7daf306feae66cf34a941b8e6 authored over 5 years ago
Improved test case for resolved #1971 (#2003)

44673b504470bfc94809ec89b80006d3f27981f5 authored over 5 years ago
Set defaults for boolean property when writing custom detekt tasks (#1996)

* Fix default boolean values when declaring custom detekt tasks

* Run detektFormat on codebase

ca84e23c2982afb17aeb3dbff5c37dbae5be4049 authored over 5 years ago
Add UndocumentedPublicProperty rule - closes #1670 (#1923)

* Rebase

* Update documentation

* Put back visibility kinds inside testcase

* Replace t...

b90c7553c6a5ff1150433b957d77fa213b76304a authored over 5 years ago
Use inline code snippets instead of case files (#1976)

This commit inlines the code snippets for data class related rules in
the style ruleset.

8daf49ec7c44ca772092e9af2841245272b05265 authored over 5 years ago
Generate file with newline at end (#1993)

46c49f849d5fac3c33d2894444ba8de3dc14568c authored over 5 years ago
Use inline code snippets instead of case files (#1989)

This PR inlines code snippets for rules in the exception ruleset.

f40cb865ceb9be3f5f6323fe8e8cb9dfeb8a35fe authored over 5 years ago
Update baseline (#1984)

d47e5fab75c0ba5ec172e3ecab2a7b3b4189f75a authored over 5 years ago
Use config parameter for UseIfInsteadOfWhen rule (#1987)

* Use config parameter for UseIfInsteadOfWhen rule

Deactivating the UseIfInsteadOfWhen rule h...

1c93b1e9def6054fb17c26c7655ff31ad9bcda7a authored over 5 years ago
Don't flag trailing whitespaces in multiline strings (#1971)

Closes #1966

6a7852125f1caa0766be87dc868eecfcb0b23754 authored over 5 years ago
Remove unnecessary logs from RuleProviderTest (#1990)

0acce362f87de3bf6a428eff94b2aaf88580c073 authored over 5 years ago
Publish gradle plugin (#1985)

4e9dc71f769c47f7439335dec68ad34e68614910 authored over 5 years ago
Prepare 1.1.0 release (#1919)

1a2be5156ada0588e40e56f5ac9796eb81795c87 authored over 5 years ago
HasPlatformType rule (#1938)

* HasPlatformType rule

* Merge ifs

Co-Authored-By: M Schalk <[email protected]...

0706bb359dcb39bf113cbb87d08e6639a8acc7de authored over 5 years ago
Introduce ignoreLabeled config for ReturnFromFinally (#1973)

f7e3ce6073b5fcdf90f743abd98b5d34e07b2744 authored over 5 years ago
Improve unused private parameter (#1949)

If two parameters are called the same in different calls now it's
detected as two warnings.

d2fca193dfe4422618135f19a1719f4c402a2a53 authored over 5 years ago
Clarify threshold pararameter meaning in docs (#1974)

* Clarify threshold pararameter meaning in docs

* Couple more minor docs fixes

* Regenerat...

6c1037b46e2ec78c946158b38082daa7558f1cca authored over 5 years ago
Ignore FunctionOnlyReturningConstant for allowed annotations (#1968)

* Ignore FunctionOnlyReturningConstant for allowed annotations

* Refactor tests

a846ec2496a0f8893e50bf21d4b68cccf122b808 authored over 5 years ago
Allow regex configuration support for Forbidden Import rule (#1963)

* Allow regex configuration named forbiddenPatterns for ForbiddenImport rule

* Use shorthand ...

842161dddd49f6e392a4c9441d5288c97a04743f authored over 5 years ago
Refactor descendants retrieval (#1962)

* Use anyDescendantOfType<> where possible

Replaces instances of collectDescendantsOfType<>()...

025b7bad0b4d6dff7d760d5bd3dd80c4cc188b55 authored over 5 years ago
Convert tabs in multiline strings to 4 spaces (rules) (#1961)

In the past this repo used tabs instead of 4 spaces for .kt files.
Ktlint doesn't convert tabs ...

0cca7ad996ce0857124bbfab905ccb5787ec6ee1 authored over 5 years ago
Convert tabs in multiline strings to 4 spaces (#1960)

0be10e81db1a7cfd00265b4309a042b171021359 authored over 5 years ago
Fix SpacingBetweenPackageAndImports issue for scripts without packages (#1947)

* Revert "Fix SpacingBetweenPackageAndImports issue for KTS (#1939)"

This reverts commit faff...

aee6d205650c7d1d2f9604b9bd4fad6f503e0366 authored over 5 years ago
Use inline code snippets instead of case files (#1958)

* Use inline code snippets instead of case files

* Fix TrailingWhitespace issues

8150bc93d0149d496cedc8bde8e666d1a2fa1d37 authored over 5 years ago
Refactor and simplify RuleCollectorSpec (#1959)

This is a succeeding commit of #1884

337107901bb839d6d110674d1a403d07ea59893a authored over 5 years ago
Fix build failure on Travis/JDK8 (#1957)

629b92dc1fa980a9847d77d6e394dc48410913c3 authored over 5 years ago
Update detekt version in gradle plugin (#1948)

89e7fd841d82b93bd72d4dc861177c249a1ddf28 authored over 5 years ago
Fix SpacingBetweenPackageAndImports issue for KTS (#1939)

SpacingBetweenPackageAndImports does not report for Kotlin script files.
That is because Kotlin...

faff9f44801128c7d0a62d8b63013e4dc1669181 authored over 5 years ago
Remove asBlockExpression function (#1946)

* Remove asBlockExpression function

* Add missing guard clause

aea11c8fe3b0784ca22d29aee1e040aee930ec75 authored over 5 years ago
Use built-in collectDescendantsOfType function (#1945)

34c30c814da68ef69a3b681b7a9e2f0426e4b213 authored over 5 years ago
Remove ConditionalPathVisitor (#1944)

9698f31337eb438645fb6c404807ae4d3bab9292 authored over 5 years ago
Extend UseDataClass with the allowVars configuration property (#1942)

* Extend UseDataClass with the allowVars configuration property

Fixes #1920

* Addressing @...

47f3e0c274752c89d2b852760bab866330502a8d authored over 5 years ago
Gradle deprecations (#1934)

* Deprecate setters for lazy config properties

* Deprecate customReports

This should never...

384e02444ef04f691d8c9413de1830f5d5ac4011 authored over 5 years ago
Implement rule to suggest array literal instead of arrayOf-expression in annotations (#1823)

* Implement rule to suggest array literal instead of arrayOf-expression in annotations

* Upda...

d95d7d1b1f0d0f36fc74dd5bfcfd00ac2f113fee authored over 5 years ago
Detect deprecations (#1913)

* Detect deprecations

* generate documentation

* Remove code examples

* Add default ali...

8ed08743ce1c0334c338f89c204216c33c8b60cd authored over 5 years ago
Update the JavaExec Gradle task documentation (#1922)

This page is using some detekt-cli flags that have been removed.
I'm cleaning it up to make sur...

91a3576b183b080e16fb2271733340933f655de4 authored over 5 years ago
Group console violation reports by file (#1852)

* Group console violation reports by file

* Move empty check on findings before calling the d...

f7bbc90e71aaee8d4dabe3dd1022c03589f4f5d0 authored over 5 years ago
Deprecate debug in IDEA tasks (#1918)

fb134ca71aa9c96e7a3a46c7d9e98a0b3ba863e2 authored over 5 years ago
Don't fail on master when test coverage decreases (#1914)

The build on master shouldn't fail if the test coverage drops slightly.
See commit: 7187493

ee93bf7069a2bbe543df61e5815da07da5fa6ba2 authored over 5 years ago
Trust Kotlin compiler to identify unsafe casts (#1879)

* Trust Kotlin compiler to identify unsafe casts

* Remove unnecessary suppressions

* Remov...

bd1ba08153372bbc8a3d9c984a61da7fb03c3b8e authored over 5 years ago
Add RedundantExplicitType rule (#1900)

399e7f6128e6e6ace2400585ca36dbddb7246e24 authored over 5 years ago
Refactoring: use more readable functions (#1916)

8803173f9734f8a1562f65f0c850e6fec50b507f authored over 5 years ago
Only report UnsafeCallOnNullableType on actual nullable types (#1886)

* Only check !! used on nullable types

* Use more appropriate method to get a type

f80fe60383c78bed811cdad1fd54402e21b58a11 authored over 5 years ago
Add configuration to allow patterns for forbidden comment (#1887)

* Add configuration to allowed patterns for forbidden comment

* Remove ignore_case check whil...

c2a8fdaa5143f813c08225e5981597b656b58927 authored over 5 years ago
Report PreferToOverPairSyntax only for kotlin.Pair (#1905)

* Report PreferToOverPairSyntax only for kotlin.Pair

* Fix issues found by PreferToOverPairSy...

7187493ce6e371403ae1e742e74e0c79bc7a112a authored over 5 years ago
Fix shared variable in detekt-extension rules (#1897)

* Fix shared variable in detekt-extension rules

* Use KtFile instead of PsiFile visitor

f714f6e276846c299ea01811d1b1a50d93eadf6b authored over 5 years ago
Don't build twice when PR created from branch (#1866)

* Skip branch with PR on AppVeyor

* Only build master branch on Travis

9f100e20ac55bd3b7330119999b3fe75b3b34954 authored over 5 years ago