-
Notifications
You must be signed in to change notification settings - Fork 17
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
Exclude target directory #341
Comments
After several hours i think i'm starting to see the problem. |
I have the same issue. For me just excluding a specific package would work. |
I have the same problem: I'm trying to exclude some generated sources in the |
Setting configuration Example:
|
Thanks, this is something to try! |
Thanks @jhult! This solves the problem. I noticed however this field is not supposed to be set, it doesn't even show in the plugin help and setting it gives warning during the build. I understood the issue with It'd be great to have an official way to exclude source roots based on their path or another mechanism to prevent generated sources to be checked. |
I also couldn't get the this working with
|
I'm using apt/kapt to auto generate some source files.
I want to exclude these when running ktlint check
This is a maven project.
I have tried sourcesExcludes with many different values as shown above,
But it is still reporting errors in these files.
How do i exclude directories?
The text was updated successfully, but these errors were encountered: