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

Refactor KotlinCoreEnvironment test setup (#1880)

* Refactor KotlinCoreEnvironment test setup

This PR adds an extension function to `Root` to a...

1fd12f2b870b1885fc3a9a1d1caf7365b37f5c1f authored over 5 years ago
Add option to ignore guard clauses in ReturnCount rule (#1889)

* Add option to ignore guard clauses in ReturnCount rule (#1868)

* Ignore guard clauses only ...

7e8548bbc56808927583a330f65b5579c3308487 authored over 5 years ago
Fix typos (#1908)

bff57f614000a3609133bcbb75f3a9258459c270 authored over 5 years ago
Rule: UseIfInsteadOfWhen (#1904)

521e96856d841ec8c115a12f2db8230ce01eda86 authored over 5 years ago
Fix TimeoutCancellationException - downgrade Spek (#1903)

Spek 2.0.3 introduced test timeouts.
(https://github.com/spekframework/spek/releases/tag/2.0.3)...

76c2bd2c027ef63c4bebd4602f07718a08b1946e authored over 5 years ago
Update dependencies (#1901)

* Update Spek version

* Update AssertJ version

9691e0d8bca9036b6c3ff72e26b1ff7dfcfdf044 authored over 5 years ago
Simplify detekt rules (#1898)

* Simplify detekt rules

* Refactor file visitor

This removes the need for the safe call op...

127e7e2b9308322b0acee065d7b77f67353f79d2 authored over 5 years ago
Remove unused KtAnnotated util functions (#1899)

043db7f3d80434bf1c8b263cb5c068c3abea53bc authored over 5 years ago
Make samples more idiomatic (#1895)

63c1d23dc4029ffe4a17bda67b96adc208bc754f authored over 5 years ago
Print rendered report if it's null or blank (#1862)

* Print rendered report if it's null or blank

Prints the rendered report to the given printer...

81716dee56a1f1d93e436b76733ddc71c213a59b authored over 5 years ago
Update detekt extensions doc (#1893)

* Update detekt extensions doc

Closes #1864

The old extensions documentation included dep...

bbb95df8f4c57022e71876b13bf41041fa2341ca authored over 5 years ago
Clarify `WildcardImport` rule configuration (#1888)

* Clarify `WildcardImport` rule configuration

Add information about conflict between `formatt...

4acd9ef59cb6eed52d0148da35633c84fe018555 authored over 5 years ago
Minimise usage of Kotlin reflection (#1883)

* Remove kotlin-reflect usage in detekt-rules

* detekt-gradle-plugin doesn't use Kotlin refle...

29caec95eb1a866a5e2a3fa327f07a325d0e6cc5 authored over 5 years ago
Don't check for unnecessary parentheses around lambdas (#1890)

61f1734fdebfad31c9becd117cb30af4a4c370ae authored over 5 years ago
Add test cases to ForbiddenComment rule (#1891)

765882c7cbb4cef487e825c14f5eb65be4c6dd78 authored over 5 years ago
Fix typo in CONTRIBUTING.md (#1892)

346c5056254a5b5be13f9449a980108ffc7fe87d authored over 5 years ago
Add tabs check for KDoc in detekt-generator (#1884)

* Add tabs check for KDoc in detekt-generator

This prevents the usage of tabs in KDoc to ensu...

bd9fa7ed6c0712e918b0a49ce0ea656eca4f0a15 authored over 5 years ago
Fix typo in README (#1885)

daf3b2a9151a8c98ac99df58c5dfc51a5fc9a5be authored over 5 years ago
Make all Gradle tasks cacheable (#1875)

* Make DetektCreateBaselineTask cacheable

* Make DetektGenerateConfigTask cacheable

* Make...

d074c36d4a42d2d25033820afc002d5cc9af6c6e authored over 5 years ago
Replace tabs with spaces in rule KDoc (#1876)

The parsed [KDocSection] element contains no tabs.
Therefore, the indentation gets removed when...

9070b81e99af19463e0bb6f963c0519008460613 authored over 5 years ago
Silence report if containing no findings (#1860)

The `FindingsReport` should not produce any output if there are no
code smells at all.
This fi...

82f5e0688ac5c7881aede268855286dc43ac6a32 authored over 5 years ago
Revert "Revert "Use Gradle's logger to print debug output (#1869)" (#1872)" (#1874)

This reverts commit 96e2e668ae3124d23ceb28114bdc73438457bc07.

f51ecfc5d3a1b620d9e6b2027f423c2e83108b4b authored over 5 years ago
Dispose KotlinCoreEnvironment to mitigate OOM errors (#1873)

This mitigates OOM (java.lang.OutOfMemoryError) errors.
This PR disposes the KotlinCoreEnvironm...

e92772539c9f67427eef5a35046b5f899d83422a authored over 5 years ago
Revert "Use Gradle's logger to print debug output (#1869)" (#1872)

This reverts commit dc9b9e8228709d581464c31b0be14aa744bff72c.

96e2e668ae3124d23ceb28114bdc73438457bc07 authored over 5 years ago
Use Gradle's logger to print debug output (#1869)

* Use Gradle's logger to print debug output

* Use Gradle's Logging service

dc9b9e8228709d581464c31b0be14aa744bff72c authored over 5 years ago
Check for actual usage of java.lang.Void in ForbiddenVoid rule (#1867)

* Use type resolution to check for java.lang.Void

1a6327be57e9bc928c1b07f610438511be775f0e authored over 5 years ago
Loosen Codecov notification criteria (#1865)

Sometimes CI is flaky due to factors outside the project's control. This config should allow rep...

a9f60901b8301a07e8714f2ae5d9bc3aff3cd3ec authored over 5 years ago
Miscellaneous (code style) (#1863)

* Use KDoc syntax in KotlinScriptEngine

* Remove last @author tag occurrence

baf75b5e0087db8fad1fd8e716582d430d9893f8 authored over 5 years ago
Silence report if containing no notifications (#1861)

The `NotificationsReport` should not produce any output if there are no
notifications.
This is...

4dd1f0e6608132053db42f3eef357b9b9a4cd400 authored over 5 years ago
Remove unnecessary suppression (#1859)

The @Suppress("UsePropertyAccessSyntax") is not necessary anymore,
because the IntelliJ rule do...

664552ddfe5752eddf99d6db27589440aaa45d19 authored over 5 years ago
Remove debug flag as console reports and configuration are stable (#1857)

ed77f0c9ebff73a50348c76782e6dcb1bd7d7b08 authored over 5 years ago
Remove unnecessary .trimMargin() in tests (#1853)

* Removes the '|' at the start of each quoted line.
* Removes .trimMargin() where no report mes...

60b435d24f3afa43183f05dd3a16965e46f8af43 authored over 5 years ago
Remove unnecessary .trimIndent() in tests (#1850)

The .trimIndent() function is called in `BaseRule.lint()` and
`Base.compileAndLint()` anyways. ...

49097cc9b6c0efbf6df3d4f945d974a563598193 authored over 5 years ago
Fix flawed Lateinit rule spek (#1849)

eaa6bfdfb431e829a2173cc884221229ae1de437 authored over 5 years ago
Gradle 5.6 (#1833)

* Gradle 5.6

* Define plugin versions in gradle.properties

* Work around Gradle 6 behaviou...

383a1e0246d051505d110a2e7062680c88d5ba4a authored over 5 years ago
Update Kotlin to v1.3.50 (#1841)

09e7a143dec29567cac2bb16b91d9918f13363f3 authored over 5 years ago
Use Ubuntu 18.04 for JDK 11 & 12 (#1848)

JDK 8 is not supported by Travis on Ubuntu 18.04 so that build remains
on 16.04 (xenial).

943aeaa98cf9423b6c2e4f9d870650a71a34d503 authored over 5 years ago
Prepare 1.0.1 release (#1846)

4cd092cdb8845d6dff5e5c12c2021bad4dc89d63 authored over 5 years ago
Update JCommander (#1817)

28cac6db2e0fb180d509204eff126bfbce1a47d4 authored over 5 years ago
Bump nokogiri from 1.8.5 to 1.10.4 in /docs (#1844)

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.8.5 to 1.10.4.
- [Release no...

147318b618b600ddd149a8b82e6bc102a798c9f5 authored over 5 years ago
Migrate SafeCast test cases to JSR223 (#1832)

b53336b98e06e148d4850d2843e24f81db5d913b authored over 5 years ago
Migrate ComplexInterface test cases to JSR223 (#1830)

* Migrate ComplexInterface test cases to JSR223

* Fix detekt.TrailingWhitespace warnings

48aaa3622dccd36278ab43c2222a545a086a72da authored over 5 years ago
Remove unused case entries (#1831)

9e2108038ef65a0d2e297d4b13ff4162a836f047 authored over 5 years ago
Remove <pluginrepository> from maventask.md (#1827)

2b24050fa7ddef8c79d7a53f07db5dae0bb073b1 authored over 5 years ago
Update maven-task --excludes arg (#1825)

435b03e4f202e9b1ce878c2cbccaa4fa6ee16bd5 authored over 5 years ago
Update contributors list (#1824)

bb404007ac7fa859462775d599f537f7d7b1bd5e authored over 5 years ago
Use notifications instead of println (#1818)

* Make use of notifications instead of printing directly to the console

* Use spaces in confi...

366612612af3ca6121964482126d40bc58f9cca8 authored over 5 years ago
Improve grammar on 1.0 release post (#1822)

3139d6ef22d586019e0e50f9ee865db3048fb5ea authored over 5 years ago
Write guide on how to make detekt silent (#1819)

* Write guide on how to make detekt silent

* Correct grammar

76431b49efb929125bf52da5fa5fbb4f78395960 authored over 5 years ago
typo in spelling of --auto-correct flag (#1816)

3c22b1b85b61cb0337248ce9d1150e6935892ee6 authored over 5 years ago
Tidy the build files (#1814)

* Remove explicit dependency on compiler-embeddable

* Remove unnneeded task dependency

* T...

aabbcd889957a8d480d02983f0d1f8ada0f683d0 authored over 5 years ago
Update dependency versions (#1815)

e087d221defea236b58ee3baff56d4d8a63b1964 authored over 5 years ago
Update docs to mention test-pattern deprecation (#1808)

Closes #1806

57ea2579b0f368771ea7e92511ca64efd36aef9d authored over 5 years ago
Downgrade to jcommander v1.72 (#1809)

206520a97104218a089319d16373322f82a2461f authored over 5 years ago
Fix typo in 1.0.0 changelog (#1812)

b7fd322002484163bb323204485e8850e3ed9f71 authored over 5 years ago
Fix image links for github pages (#1807)

2f8ea0a7f87ee5f602298b8c41aa71bc43b61d73 authored over 5 years ago
Prepare 1.0 (#1802)

* Prepare changelog

* Update versions to 1.0.0

* Fix testcase to use the new default confi...

996139d507f9fe6bf1e01bb08fb433a1d9aa34cd authored over 5 years ago
Gradle plugin: Set default path for "config" parameter (#1801)

* Generate default config at user-specified path

* Set a default path for detekt's config fil...

acf2e3b7b00f42c4ff67558cd0dabcc5531a8a93 authored over 5 years ago
Don't use provider value that may not have been set (#1800)

856ba0518a85b7db3b594b0521eab1f9cca6cbf1 authored over 5 years ago
Remove raw URLs from README (#1799)

8391cd9218883e806fc4a90ea83ac3eff037cd61 authored over 5 years ago
Add missing autoCorrect declarations (#1798)

631660bdefb8a5fc40c8b54764c4656f65a38d40 authored over 5 years ago
Remove duplicate test in VarCouldBeValSpek (#1795)

32947ec2672a2d67869b3d0fa058cd6f3031fb51 authored over 5 years ago
Add auto correct flag to detekt extension (#1790)

62366ce8f9a80e27712d598fb5ae8fe3502c182b authored over 5 years ago
Gradle plugin: Fix visibility of internal properties (#1789)

* Correct visibility of internal properties

* Ensure validateTaskProperties task passes durin...

d0557652728c35efb6dde67f3c5806e3698fe8eb authored over 5 years ago
Update to KtLint 0.34.2 (#1791)

2c2561aa417480e1b70ba94775b76e50ad1d1bcc authored over 5 years ago
Kotlin language version handling (#1748)

* Kotlin language version handling

Signed-off-by: Semyon Levin <[email protected]>

* U...

5e35fabadba3f9f5b3f0dac1eafc80d2b2db6451 authored over 5 years ago
Check classes and functions documented for api module (#1788)

* Check if all api functions and classes are documented

* Deprecate equals function as it doe...

e7aa71e81a56948387f3a6cb32b19b382503387d authored over 5 years ago
Remove xml report consolidation. (#1774)

* Remove xml report consolidation.

* Remove dependency on subproject task.

c5ea56154d7e562cb2d6889b486fc6f113af48b9 authored over 5 years ago
Implement dry-run option for detekt gradle tasks. (#1769)

1444e2a07ad27df417a5cbca8356c9ef7d54c4df authored over 5 years ago
Update Complex Method doc - closes #1009 (#1773)

ce248281010ce2763f665fe15738ab9ff1db7262 authored over 5 years ago
Fix UseDataClass false positive (delegation) (#1783)

* Fix UseDataClass false positive (delegation)

A class containing delegated properties is no ...

3d46099d22c0b711db523525de5ace9eebe00575 authored over 5 years ago
Prevent adding author tags in code (#1776)

5874840d0bbb222824f6335163581d87fe143569 authored over 5 years ago
Add ignore pattern to SwallowedException (#1782)

* Add ignore pattern to SwallowedException

Closes #1408

* Add ignore pattern test case

...

9d509adab7a010fc602a03e35b5de19b04c67cd1 authored over 5 years ago
Provide default value for ignoreFailures (#1787)

* Use Property's setter instead of using an extra one

* ignoreFailures isn't Optional

It m...

a84f1a30d770b4333c39a236d89bab5b31eaafa9 authored over 5 years ago
Update detekt-api documentation (#1786)

Execute *Task :detekt-api:dokka*

b50afd0ea2ef1fe5fdf25a420384a3bc76b02a3d authored over 5 years ago
Document meanings of rule severity levels (#1785)

Closes #1630

7b821bd2044b2734d316fc831d30855e4761f772 authored over 5 years ago
Remove unused code (#1784)

80be66d6a31f604c6206e849202b92985449146a authored over 5 years ago
Use already existing constants. (#1777)

ac4c8eafdfcc5c430967fa48f80c6d607982da0a authored over 5 years ago
Add more func names for McCabeVisitor (#1780)

3e8b0c71d83bf5176689ddd100061f7c9be8e16a authored over 5 years ago
Remove author tag in /detekt-api (#1772)

f98ccac9aa352805621dd6a19888bb472d776cef authored over 5 years ago
Remove author tags (#1771)

* Remove author tag in /detekt-test sources

* Remove author tag in /detekt-sample-extension s...

3543c2fe1aa46b579aac61371a13b9faf23c6e95 authored over 5 years ago
Update CONTRIBUTING.md (#1775)

f82e6550e4678ef659b58c277084789f42def279 authored over 5 years ago
Adds TXT report support on gradle plugin (#1742)

* Adds support for TXT report on gradle plugin

* Updates changelog file

* Adds TXT report ...

ee0ebca1746cdead5221f9a4d1274258d555f7eb authored over 5 years ago
Rearrange badges, add codefactor (#1760)

fcd0c559582c438a771290f7efb1a652d9ee57dc authored over 5 years ago
Fix missing report file issue. (#1767)

* Fix missing report file issue.

Consolidation may only be triggered for the 'old' detekt tas...

0cd1374ecd3e4ede42f7f4971689d5e597040497 authored over 5 years ago
Update EmptyClassBlock to skip classes with comments in the body (#1758)

* Update EmptyClassBlock to skip classes with comments in the body

Fixes #1756

* Removed e...

d01837195bb3241a58ccf4edc7d4a2e99a258983 authored over 5 years ago
Update Kotlin to 1.3.41 (#1759)

b5844819d19e9beb4f7070033ea2e3e98823b76d authored over 5 years ago
Add naming test for ForbiddenVoid rule (#1740)

* Add naming test for ForbiddenVoid rule

This adds tests to reproduce issue #1642

* Remove...

9e87fb74f47db81cf9da60924a9928c275055bb7 authored over 5 years ago
Remove obsolete NoWildcardImports autoCorrect param (#1751)

03092eb51c1cece1b4727d36cda0e32746107029 authored over 5 years ago
ForbiddenVoid: New option 'ignoreUsageInGenerics' (#1738)

* ForbiddenVoid: New option 'ignoreUsageInGenerics'

* Tabs to spaces

* More tests

* Gen...

f3d4bbbceee7a23a615c7b4734d5650e6f6083ad authored over 5 years ago
Fix cli execution doc

f30d5f0c745864de0ccddb1b64b61af7707d1989 authored over 5 years ago
Prepare rc16 release (#1741)

* Prepare rc16 release

* Publish the gradle plugin again to bintray to let it sync to maven c...

4077d270f642b37b563beb226c98478b943947bb authored over 5 years ago
Use Codecov's recommended JaCoCo config (#1739)

https://github.com/codecov/example-gradle

5948565c07e162113bd6c82ee5eca462a1d12890 authored over 5 years ago
Write a post about how to use snapshot releases (#1737)

a36f3c963c83990c7efb5193001a5d82afa65258 authored over 5 years ago
Document how to include/exclude source files in the gradle plugin - Closes #1712 (#1736)

ae665cf0729ca2a904f7a7d68ad29107f456a642 authored over 5 years ago
Publish snapshots to jfrogs oss artifactory (#1734)

* Publish snapshots to jfrogs oss artifactory

* Mention releases and snapshots

* Upload sn...

1565c86cdb677f802efd9ade44fda7b3b331bc26 authored over 5 years ago
Use printers of ProcessingSettings (#1735)

3eb7d4a2bcdae4e899519601fcaad862c787b271 authored over 5 years ago
Wrap four new KtLint rules (#1455)

* Wrap two new KtLint rules

* Add new rules to KtLint provider

* Add test cases for new ru...

c7427f67d5bb939f26994f0e2b9f6945e929247b authored over 5 years ago
Extract building runner (#1733)

This allows tools which embed detekt to call the buildRunner methods
instead using the main met...

86f3d36bb03f7355bcb9b26f282c9ee30a8da995 authored over 5 years ago
Remove deprecated threshold settings doc (#1730)

#1728 follow-up

9d7334f7c15aee0c83fe30fd137992dc42755d61 authored over 5 years ago