News for hackers. Stuff that matters.
Re:Visual Studio Code 1.5 by tracker1 on Thursday September 08, 2016 @04:19PM (#12456901)
Agreed, it would be nice if the eslint module swallowed javascript linting errors for you... Also, would be cool if it defaulted to using an in-module copy of eslint with the airbnb preset as it's default if no eslint config file is found in the project/workbench.
Re:Visual Studio Code 1.5 by thatswrong0 on Thursday September 08, 2016 @05:42PM (#12457601)
IMO the Airbnb preset is too extreme / opinionated to use as a default ESLint config. Maybe something a bit more trimmed down would be reasonable.
Re:Visual Studio Code 1.5 by arvinsim on Thursday September 08, 2016 @07:18PM (#12458324)
The beauty of ESLint is that you can override it with your own settings. So you can use the AirBnB setting as the base and override the things that you want.
Re:Visual Studio Code 1.5 by thatswrong0 on Thursday September 08, 2016 @07:34PM (#12458411)
I know that, but I still think it's way too opinionated to be a base. My linter shouldn't annoy me by forcing me to do things that make my code less legible (like enforcing arrow-body-style) out of the box.