step 1: Package Control: Install Package --> Sublimelinter-html-tidy
step 2: sudo apt-get install tidy
step 3: Preferences > Package Settings > SublimeLinter > Settings
step 4: add {"paths":{"linux":["~/tidy"],"osx":[],"windows":[]}} to right tab
step 5: restart Sublime Text