Using ESLint for Code Style and Quality
by Ben Centra
Over the past year at work I’ve learned the value of linting your code. Especially on a big project, having a tool to enforce code style conventions can make everything easier to read and understand. And if you’re strict enough with your linting rules, you can even avoid bad practices that lead to potential bugs. At this point, I wouldn’t think of starting a project without a linting tool.
For JavaScript projects today, ESLint seems like the tool of choice. It supports ES2015, it has a ton of built-in rules, and you can easily create plugins and shareable configs. I prepared this slide deck for Constant Contact’s August “JavaScript Lunch” to share my team’s experience using ESLint and the basics of setting it up for other projects.
Subscribe via RSS