Last Updated: August 03, 2017
·
5.419K
· zigotica

How to fix jshint alert "mixed spaces and tabs" in SublimeText2

1) Open your SublimeText2 User preferences

2) Add

translate_tabs_to_spaces: true,
use_tab_stops: true

3) Save preferences

Now your jshint process will not alert any error since spaces and tabs are intelligently converted.

1 Response
Add your response

Thanks! I have SublimeText3 and added the code into 'Preferences>>Settings' but the issue with JSHint remained.

{
"translatetabstospaces": true,
"use
tab_stops": true
}

Any ideas?

over 1 year ago ·