-
Notifications
You must be signed in to change notification settings - Fork 506
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
Baseline (for big old projects) #220
Comments
no
cd project-dir/
ktlint -F # auto-correct |
Thanks for fast response. If I write script that will list me all file paths that were changed in one pull-request, can I provide these paths to ktlint? Is there any limit for how much explicit paths can I give ktlint to analyze? |
Sure. To my knowledge, there is no limit other than OS-specific "max length of args" (e.g. |
Looks like this got added after all #707 |
Hello (:
Is it possible to generate baseline file (list all current issues as ignored and only perform check on new ones)? Or should we use script to get list of changes and run ktlint on them using "args"?
Also is there any limit on how many paths could be listed in "args"?
Thank you in advance.
The text was updated successfully, but these errors were encountered: