-
Notifications
You must be signed in to change notification settings - Fork 455
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_standard_enum-entry-name-case = disabled does not work on .editorconfig #1785
Comments
It works, see Goooler/AndroidOAuth2WebView#36. I guess the issue is what you are using |
The file path needs to be overridden because the project is a submodule of a bigger project.
Plus, the other settings I have in the .editorconfig file seem to work fine. |
You can use |
I'm getting odd behavior, and I'm not sure what happened but none of the settings work now. I tried the path that you provided and tried the old one. There's no errors about the file not being found, but it does not seem to matter and it fails the validation. What worked though was copying the .editconfig to the project directory and removing the setEditorConfigPath. |
Overriing |
Shouldn't the plugin fail if the file isn't found? |
I believe this is reasonable. @nedtwigg WDYT? |
If I change the file name or path I get an error. |
I fixed this by deleting the .gradle and build directories. Not sure why I had to do this, but spotlessApply is working fine after that. |
The .editorconfig file
The error:
The gradle.kts
Is this something you can help me figure out? I'm using the latest spotless gradle plugin, but I think this is related to ktlint. Let me know if I have to take this to the ktlint devs instead.
The text was updated successfully, but these errors were encountered: