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.
Written by Sergi Meseguer
Related protips
1 Response
Thanks! I have SublimeText3 and added the code into 'Preferences>>Settings' but the issue with JSHint remained.
{
"translatetabstospaces": true,
"usetab_stops": true
}
Any ideas?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#