Make sure that the brew tidy
is actually used by Sublime (thus, its path is in the $PATH
variable of sublime and before the OS X default one (which is located in /usr/bin
).
Probably the OS X (let's better say bash) $PATH
was adjusted by homebrew, but not Sublime's one.