r/javascript • • Dec 19 '16

~15 years trying to make everyone separate HTML, JS & CSS. And then suddenly everything went south and we’re writing code like this.

https://twitter.com/thomasfuchs/status/810885087214637057
483 Upvotes

258 comments sorted by

View all comments

Show parent comments

1

u/elingeniero Dec 20 '16 edited Dec 20 '16

If only I could find a way of getting my editor to use the right linter and syntax checker for each section. I ended up using component folders with a . js, .html, and .css file in each and used webpack to mash them all together.

-2

u/[deleted] Dec 20 '16

And switching editors isn't an option?

3

u/elingeniero Dec 20 '16

Why would this cause me to want to switch editors?

Besides, it doesn't work properly in either vim or vscode so it's not a fault with either one in particular.