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
bd62c6aab1fb52157778a5699b4284b38339a898 authored over 5 years ago
478cef70e031dc66326cd70a17562719e0403d42 authored over 5 years ago
12207483ec1b6eb0898617fcf8529683dc6fcf68 authored over 5 years ago
I just added the execution permission to the file .buildscript/deploy_snapshot.sh with chmod +x ...
92ddf1d1ab8bcc61840641f15a02c0618708dea8 authored over 5 years ago
This commit handles the case where both given values in the until
function are equal. Closes #2...
* 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
* Suppress deprecations for build to pass
8b11f1d497c2c3496ce8cf0b81f1b5f60496371c authored over 5 years ago* Validate yaml configurations by comparing their structure - #516
* Towards supporting compo...
6c3795554f24377920664bb08833202679c8a3d4 authored over 5 years agoe8111c3454c7a97ec6fd00223fa79a5478341d62 authored over 5 years ago
* Fix name
* Improve TextLocation for ComplexMethod
7014dfbf80aadbdf5bbd609b78279e68f64ef61a authored over 5 years ago8837fa1b09a930b7ae4a0ed0d9aaea75ecbb456c authored over 5 years ago
* Use trimIndent() in MatchingDeclarationNameSpec
* Add test to ensure that @Suppress works i...
07976a5f1f6d88f86fa89d9fe9cf78ff05031e8f authored over 5 years agoc0686c8e03d6e7fdc76e47dbf53ccd0eda6fc589 authored over 5 years ago
120f1ef8650b6e2ba50635d87eb5a45a2da4db5a authored over 5 years ago
d7088791a6d2a075202570ce87f1bba8c0413c59 authored over 5 years ago
* Use constants for config keys in tests
* Move constant to test file
56053aea768fd57de023e84856ffedc4e75e4a84 authored over 5 years ago72f2225d7f56ab38752899b233f8952e06bdf0c7 authored over 5 years ago
* Update dependencies
* Remove usage of deprecated `before` method
* Regenerate docs
f5a8086bd18942d6d92f4cbad4eeeb80534a699e authored over 5 years ago* Fix #2021
* minor refactor
* fix typo
fc9fdca4980fd33c891b2e718e23648e03d6e9ef authored over 5 years ago2633e1c24084098cb25759e8b2f338b0cba779ab authored over 5 years ago
b0dc63226d33861b18b2d57e841fe3cc48ab721d authored over 5 years ago
* Support guard clause exclusion for ThrowsCount rule
* Fix feedback issues
12c773892bf61f82ff2cae31160eaa6cecd7e1ba authored over 5 years ago* Split MandatoryBracesIfStatementsSpec in smaller tests
* Add missing tests at MandatoryBrac...
0c24d9efdb59c9ce7a0184a50701718e4efa282e authored over 5 years ago2717a5297d308e016389f4199e4ba2d4c25a439d authored over 5 years ago
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
* Decrease codecov successful CI notificati...
b922c4e48bda8942071d4f4fb90cadcf4f4eada4 authored over 5 years ago
This removes some boilerplate code from the HtmlOuputFormatTest
introduced by #1975.
e2eaf3e2812564b41bd8cc260fe0d50170cd6224 authored over 5 years ago
* DRY in VariableNaming, TopLevelPropertyNaming and ObjectPropertyNaming
* Simplify tests. Al...
6570c15e3b2f1e8c819e23244552476268c40ae4 authored over 5 years ago57ce95e08b660081b806f252acbd6ecdf3baeb5d authored over 5 years ago
d12a4d000dece370a6854f055ef93bd00d5d40eb authored over 5 years ago
* Ensure dokka runs when generating docs
* Regenerate docs
310782a8de78fec7f57bc260cd8727d5642c2c91 authored over 5 years ago* 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
* Do not use deprecate...
c6ff7112b0b33afdf62e043075d67508c9e1e5b9 authored over 5 years ago* Rename it to finding
* Add snippet code in html report
* Add instegration test
* Impr...
d31e162b1bdbcad8a6473a9f0c91a25f06182ef1 authored over 5 years ago* Add hasTextLocation in FindingsAssertions
* Use hasSourceLocations
97c7ed521f2fa432cd2c1e7a71ac3395ec937fe9 authored over 5 years ago4790a9ba8a1af85c6af6120ded757dead9af824f authored over 5 years ago
* Reimplement --parallel logic
Using the common thread pool may have lead to starvation when...
65c791b2a0edc128997252421fdf0469ef652643 authored over 5 years ago07f2bbe6fb36963ea090c58a81b3b6719cdda0ae authored over 5 years ago
* Elaborate on test case description
* Add fail message that includes the rule causing the test...
92cdf17eabab3dcb83096ad47ba34062dabf9348 authored over 5 years ago
One of our regex has the char ` on it. So it breaks the formating.
If we use double backtick fo...
38561d08df2629152a93030eb479c31e05159ea5 authored over 5 years ago
80eaef01f899c2df2af6083a141fdd3fdd08f683 authored over 5 years ago
1f3439fb253be37f03c0d99a2b8b303ddb3d7298 authored over 5 years ago
* 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
reference https://www.ndepend.com/docs/code-metrics#CC
* Update MCC a...
687d7ac0bbbcac42aa41345f852d7913a8b5a515 authored over 5 years ago
This may break users baseline.
See #1935
* Upgrade Spek to v2.0.8
* Disable Spek timeouts
* Fix Spek exceptions with by memoized cl...
b048c6bbfde59bc714ddad3a02a4b0bdd4908ef8 authored over 5 years ago7c6b1dfb384297546b2358c1fa5396efcc004828 authored over 5 years ago
d907933ba9f539853cd54ba97caaf12e5bb9c8db authored over 5 years ago
* Fix tests
* Use kotlinx.html instead of HtmlSnippet
* Use kotlin forEach
* Split code...
fa922e259605b77f561c4229eccc6decbd156f73 authored over 5 years agoed7b17d1b1ccabbfa61089f1cb5853164b941c15 authored over 5 years ago
13637bf8680f1df7daf306feae66cf34a941b8e6 authored over 5 years ago
44673b504470bfc94809ec89b80006d3f27981f5 authored over 5 years ago
* Fix default boolean values when declaring custom detekt tasks
* Run detektFormat on codebase
ca84e23c2982afb17aeb3dbff5c37dbae5be4049 authored over 5 years ago* Rebase
* Update documentation
* Put back visibility kinds inside testcase
* Replace t...
b90c7553c6a5ff1150433b957d77fa213b76304a authored over 5 years ago
This commit inlines the code snippets for data class related rules in
the style ruleset.
46c49f849d5fac3c33d2894444ba8de3dc14568c authored over 5 years ago
This PR inlines code snippets for rules in the exception ruleset.
f40cb865ceb9be3f5f6323fe8e8cb9dfeb8a35fe authored over 5 years agod47e5fab75c0ba5ec172e3ecab2a7b3b4189f75a authored over 5 years ago
* Use config parameter for UseIfInsteadOfWhen rule
Deactivating the UseIfInsteadOfWhen rule h...
1c93b1e9def6054fb17c26c7655ff31ad9bcda7a authored over 5 years agoCloses #1966
6a7852125f1caa0766be87dc868eecfcb0b23754 authored over 5 years ago0acce362f87de3bf6a428eff94b2aaf88580c073 authored over 5 years ago
4e9dc71f769c47f7439335dec68ad34e68614910 authored over 5 years ago
1a2be5156ada0588e40e56f5ac9796eb81795c87 authored over 5 years ago
* HasPlatformType rule
* Merge ifs
Co-Authored-By: M Schalk <[email protected]...
0706bb359dcb39bf113cbb87d08e6639a8acc7de authored over 5 years agof7e3ce6073b5fcdf90f743abd98b5d34e07b2744 authored over 5 years ago
If two parameters are called the same in different calls now it's
detected as two warnings.
* Clarify threshold pararameter meaning in docs
* Couple more minor docs fixes
* Regenerat...
6c1037b46e2ec78c946158b38082daa7558f1cca authored over 5 years ago* Ignore FunctionOnlyReturningConstant for allowed annotations
* Refactor tests
a846ec2496a0f8893e50bf21d4b68cccf122b808 authored over 5 years ago* Allow regex configuration named forbiddenPatterns for ForbiddenImport rule
* Use shorthand ...
842161dddd49f6e392a4c9441d5288c97a04743f authored over 5 years ago* Use anyDescendantOfType<> where possible
Replaces instances of collectDescendantsOfType<>()...
025b7bad0b4d6dff7d760d5bd3dd80c4cc188b55 authored over 5 years ago
In the past this repo used tabs instead of 4 spaces for .kt files.
Ktlint doesn't convert tabs ...
0be10e81db1a7cfd00265b4309a042b171021359 authored over 5 years ago
* 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
* Fix TrailingWhitespace issues
8150bc93d0149d496cedc8bde8e666d1a2fa1d37 authored over 5 years agoThis is a succeeding commit of #1884
337107901bb839d6d110674d1a403d07ea59893a authored over 5 years ago629b92dc1fa980a9847d77d6e394dc48410913c3 authored over 5 years ago
89e7fd841d82b93bd72d4dc861177c249a1ddf28 authored over 5 years ago
SpacingBetweenPackageAndImports does not report for Kotlin script files.
That is because Kotlin...
* Remove asBlockExpression function
* Add missing guard clause
aea11c8fe3b0784ca22d29aee1e040aee930ec75 authored over 5 years ago34c30c814da68ef69a3b681b7a9e2f0426e4b213 authored over 5 years ago
9698f31337eb438645fb6c404807ae4d3bab9292 authored over 5 years ago
* Extend UseDataClass with the allowVars configuration property
Fixes #1920
* Addressing @...
47f3e0c274752c89d2b852760bab866330502a8d authored over 5 years ago* 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
* Upda...
d95d7d1b1f0d0f36fc74dd5bfcfd00ac2f113fee authored over 5 years ago* Detect deprecations
* generate documentation
* Remove code examples
* Add default ali...
8ed08743ce1c0334c338f89c204216c33c8b60cd authored over 5 years ago
This page is using some detekt-cli flags that have been removed.
I'm cleaning it up to make sur...
* Group console violation reports by file
* Move empty check on findings before calling the d...
f7bbc90e71aaee8d4dabe3dd1022c03589f4f5d0 authored over 5 years agofb134ca71aa9c96e7a3a46c7d9e98a0b3ba863e2 authored over 5 years ago
The build on master shouldn't fail if the test coverage drops slightly.
See commit: 7187493
* Trust Kotlin compiler to identify unsafe casts
* Remove unnecessary suppressions
* Remov...
bd1ba08153372bbc8a3d9c984a61da7fb03c3b8e authored over 5 years ago399e7f6128e6e6ace2400585ca36dbddb7246e24 authored over 5 years ago
8803173f9734f8a1562f65f0c850e6fec50b507f authored over 5 years ago
* Only check !! used on nullable types
* Use more appropriate method to get a type
f80fe60383c78bed811cdad1fd54402e21b58a11 authored over 5 years ago* 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
* Fix issues found by PreferToOverPairSy...
7187493ce6e371403ae1e742e74e0c79bc7a112a authored over 5 years ago* Fix shared variable in detekt-extension rules
* Use KtFile instead of PsiFile visitor
f714f6e276846c299ea01811d1b1a50d93eadf6b authored over 5 years ago* Skip branch with PR on AppVeyor
* Only build master branch on Travis
9f100e20ac55bd3b7330119999b3fe75b3b34954 authored over 5 years ago