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 option to enable specific experimental rules #1023

Conversation

paul-dingemans
Copy link
Collaborator

With command line flag "--experimental" it is possible to enable all experimental rules. I want to be able to enable specific experimental rules which work well for a repository from the .editorconfig in that repository.

Paul Dingemans added 3 commits December 19, 2020 14:01
…xperimental-rules

# Conflicts:
#	ktlint-core/src/test/kotlin/com/pinterest/ktlint/core/internal/EditorConfigLoaderTest.kt
@paul-dingemans
Copy link
Collaborator Author

Alternative to this implementation, is my proposal in #1033 to restructure the properties in the .editorconfig.

@romtsn
Copy link
Collaborator

romtsn commented Mar 8, 2021

Thanks for the PR, but we'd like to move towards a more flexible solution (#548). Also, I'd suggest you open an issue upfront, so we could discuss it and you wouldn't need to spend your time implementing something that's not in line with the project roadmap.

@romtsn romtsn closed this Mar 8, 2021
@paul-dingemans paul-dingemans deleted the enable-specific-experimental-rules branch March 11, 2021 12:38
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.

2 participants