Barbaric Tip of the Week is a weekly series whose main purpose is to share tiny bits of knowledge that I find specially useful and interesting.
Now you can get started with eslint by installing it via npm:
And just typing:
You can get your code analyzed and be offered some suggestions, or select popular style guides (like Google’s) or just answer questions regarding your preferences:
Awesome right? That’s a nice developer experience right here. So now go forth and lint.