add minimal line count - #7
Conversation
5e13eb8 to
4369178
Compare
|
I don't think this is a good idea. When there is a single indented line in a file it's more likely than not the true indentation level of the file. Sure, there can be outliers, but without being more clever the best thing we can do is assume the most likely scenario which is that the indentation we see is the true indentation. |
|
When there are only one or two indented lines, it is rather unlikely that an indent of 5 or 7, say, was indented by the user, but rather accidental. Therefore, only accept common values to keep out of the way. |
|
Yes, I agree. The two line limit is arbitrary, of course. |
|
Merged! I don't think disregarding indentations > 8 is necessary as this already covers the example in #5. |
addresses #6