Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If setValue is declared as an extension method ktlint thinks its unused #55

Closed
JLLeitschuh opened this issue Jun 6, 2017 · 0 comments
Closed

Comments

@JLLeitschuh
Copy link
Contributor

Pretty much the same as #54 but with setValue instead.

https://github.com/shyiko/ktlint/blob/master/ktlint-ruleset-standard/src/main/kotlin/com/github/shyiko/ktlint/ruleset/standard/NoUnusedImportsRule.kt#L15-L38

This list should contain setValue.

@shyiko shyiko closed this as completed in 9322a1f Jun 19, 2017
shyiko added a commit that referenced this issue Jul 24, 2017
* '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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant