You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importcom.natpryce.konfig.PropertyGroupimportcom.natpryce.konfig.getValueimportcom.natpryce.konfig.stringTypeinterfaceEventConfiguration {
val url:Stringcompanionobject {
privateobject rabbitmq : PropertyGroup() {
val url by stringType // This is where getValue is used.
}
}
* 'master' of github.com:shyiko/ktlint:
CI with JDK 8
Upgrade to kotlin 1.1.3-2
🤦
allow for named lambdas
Fix misleading indent lint error message
Added 0.8.3 release note(s)
Fixed#55 - If `setValue` is declared as an extension method ktlint thinks its unused
Fixed#59 - Semicolon at end of package declaration not reported, different error instead
Fix regression for spacing around else keyword
Implement spacing after setter and getter
Add test cases for spacing after setter and getter
Added 0.8.2 release note
Fixed#54 - if `getValue` is declared as an extension method ktlint thinks its unused
Example:
This is how
getValue
is defined:Kt-lint thinks that
import com.natpryce.konfig.getValue
is an unused import so you have to disable the check using// ktlint-disable
.The text was updated successfully, but these errors were encountered: