danielstjules/jsinspect — pull request #6 by alexeyraspopov (2014-10-21 08:44:57+00:00)
Title: Strip indent

Hi!

At first, I was so exited when I found this tool. Thank you.

I was trying to use it for my project and got interesting behaviour: when I have two blocks of code which are the same but have different indentation level diff shows me incorrect add/remove lines (actually it shows that every string was replaced because of different indentation level).

I used [strip-indent](https://github.com/sindresorhus/strip-indent) for blocks of code which will be matched.

Also, If you will allow it, I've added `.editorconfig` manifest with line ending setting. I work on Windows laptop and when I first started the tests I've got error because of different line ending in specs and in files (`\n` and `\r\n`).

Kind regards,
Alexey Raspopov