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

Add API to process a Kotlin script snippet #1746

Conversation

paul-dingemans
Copy link
Collaborator

Description

Add API so that KtLint API consumer is able to process a Kotlin script snippet without having to specify a file path

Closes #1738

Checklist

  • PR description added
  • tests are added
  • KtLint has been applied on source code itself and violations are fixed
  • documentation is updated
  • CHANGELOG.md is updated

In case of adding a new rule:

@paul-dingemans paul-dingemans added this to the 0.48.1 milestone Dec 25, 2022
@paul-dingemans paul-dingemans merged commit 0ce631d into pinterest:master Dec 27, 2022
@paul-dingemans paul-dingemans deleted the 1738-format-kotlin-script-snippet branch December 27, 2022 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant