Re:Visual Studio Code 1.5
by mrspeaker on Thursday September 08, 2016 @03:45PM
(#12456618)
I don't hold allegiances to a text editor (c'mon, it just edits text!) so I switched from Atom for a while too: I was very impressed with it (it feels so snappy, and looks so cool!). It fell over on linting some of the ES7/8 things that we use in our code base - but as soon as they fix that I will give it another serious go.
[ Parent
| on HN ]
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.
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.
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.