Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTimothy Huxley
Courses Plus Student 4,781 PointsAre there any tools to give us warnings and help us avoid risky code?
(e.g. if I forget to declare a var in a function or use == instead of ===)
2 Answers
eck
43,038 PointsESLint is another popular linter that has a pretty complete set of rules created and maintained by Air BnB.
Here you can learn about what rules they use and why: https://github.com/airbnb/javascript Here you can learn about how to set up different versions: https://www.npmjs.com/package/eslint-config-airbnb
Timothy Huxley
Courses Plus Student 4,781 PointsTimothy Huxley
Courses Plus Student 4,781 PointsThanks! I appreciate a recommendation over a search.