Reputation: 447
I am using EditorConfig in Sublime Text 3. I have set up the .editorconfig file in my project root directory and it was working fine few months ago.
The indentations looks good in Sublime
But when I push it to GitHub, the same code looks like this
I removed the EditorConfig via Package Control > Remove Package. Then reinstalled the EditorConfig package. I tried both manual way and installation via Package Control but nothing seems to work. Help me through this!
Upvotes: 4
Views: 4942
Reputation: 66
Mixed tabs and spaces are causing this error. See the .editorconfig
file for tab indentation and look at your code by highlighting all you have written where dotted are spaces and other lines are tabs:
Upvotes: 4