4 ms·
I had the same complaints and just went with the excellent ESLint plugin with a ES2016/17 friendly config instead of the default vscode linting.
by dotch 10y ago
I had the same complaints and just went with the excellent ESLint plugin with a ES2016/17 friendly config instead of the default vscode linting.
- tracker1 10y agoAgreed, 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.
- thatswrong0 10y agoIMO the Airbnb preset is too extreme / opinionated to use as a default ESLint config. Maybe something a bit more trimmed down would be reasonable.
- arvinsim 10y agoThe 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.
- thatswrong0 10y agoI 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.