-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
2.0.0: indent type missing in CLI? #3
Comments
Currently, it returns the indent itself. You could infer the type yourself. What is your use-case? I could maybe add a
|
I was trying to figure out for a legacy mixed indent codebase, what is the predominant indent type used. So after monkey-patching detect-indent for
Of course, it turned out false space-positives were identified, because of file header block comments having a single space indent. /**
* Comment
*
* @todo Moar.
*/
function() {
<tab>yah();
<tab>...
} |
Tried again in 2023 to understand whether a file is predominantly Tabs or Spaces, but I guess no luck with moving a verbose mode forward? |
Hi. Do I interpret README correctly, it doesn't support detect-intent API object's
type
field? Any particular reason why not?The text was updated successfully, but these errors were encountered: