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

Context Receivers... #599

Closed
caeus opened this issue Aug 22, 2022 · 5 comments
Closed

Context Receivers... #599

caeus opened this issue Aug 22, 2022 · 5 comments

Comments

@caeus
Copy link

caeus commented Aug 22, 2022

This plugin doesn't work with context receivers, so I'm wondering if theres a way I can use the snapshot version of pinterest/ktlint...

@AleksanderBrzozowski
Copy link
Contributor

what do you mean? Which version of ktlint plugin supports context receivers?

@osoykan
Copy link

osoykan commented Oct 4, 2022

Having the same issue, I think we need a snapshot version of the plugin that uses pinterest/ktlint's snapshot.

@rcd27
Copy link

rcd27 commented Nov 24, 2022

what do you mean? Which version of ktlint plugin supports context receivers?

image

He means when we use context receivers, ktlint-gradle fails with parsing files.

@AleksanderBrzozowski
Copy link
Contributor

what do you mean? Which version of ktlint plugin supports context receivers?

image

He means when we use context receivers, ktlint-gradle fails with parsing files.

Yep, that's true, I suggest to switch to other plugin - https://github.com/jeremymailen/kotlinter-gradle

@wakingrufus
Copy link
Collaborator

try with 11.1.0, this plugin now supports newer versions of ktlint (#620)

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

5 participants