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

Ktlint config is applied only to kotlin (kt, kts) files #23

Merged
merged 2 commits into from
Aug 20, 2019

Conversation

igorwojda
Copy link
Owner

@igorwojda igorwojda commented Aug 19, 2019

.editorconfig filters can be defined for the particular file extension ([*.{kt,kts}]) instead of the whole file.

The .editorconfig parser is imperfect, so, for now, we have to make sure there is no space between extensions
JLLeitschuh/ktlint-gradle#269

The parser will be replaced at some point
pinterest/ktlint#561

@igorwojda igorwojda merged commit c246640 into master Aug 20, 2019
@igorwojda igorwojda deleted the ktlint-config branch August 20, 2019 04:42
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

Successfully merging this pull request may close these issues.

1 participant