Alexander Forbes-Reed
Alexander Forbes-Reed

Reputation: 2975

ES6 support in VSCode isnt working

Ive seen other questions regarding this issue - Is there a way to turn on ES6/ES7 syntax support in vscode? - but this has now been addressed by Microsoft and implemented in VSCode.

However, I have downloaded the latest version of VSCode, and cloned the example es6 repo from GitHub, and it seems to not be working

Upvotes: 2

Views: 2313

Answers (2)

VanAlbert
VanAlbert

Reputation: 2469

If you're using eslint with npm, you may need the .eslintrc file in the root folder of your project. See my answer to this question and the docs for the ESLint VSCode extension.

Upvotes: 0

Damien Leroux
Damien Leroux

Reputation: 11693

To turn ES6/ES7 support, the best way is to use ESLint with dedicated parser ( babel, etc...). I try it if you're interested: VSCode Linter ES6 ES7 Babel linter.

Upvotes: 2

Related Questions