Spacevim: ES6 project, how to fix jshint: use 'esversion: 6'?

Created on 16 Jan 2018  路  7Comments  路  Source: SpaceVim/SpaceVim

I'am not use jshint before.

I find a solution is add a .jshintrc file in project root.

But I want to know is there a way to fix it in spacevim?

Thanks.

Screenshots

image

Most helpful comment

In windows
open VS Code then press ctrl+shift+p together > command palellet will appear > open user settings>search jshint> click on jshint:options > "jshint.options": { "esversion": 6, }

All 7 comments

you need to add a .jshintrc file yourself, I think this file is part of your project, and it should not be changeable in spacevim.

I will look into jshint, if I find the cli tool support argv for enable esversion 6, I will add this feature.

@wsdjeg OK, Thank you.

In windows
open VS Code then press ctrl+shift+p together > command palellet will appear > open user settings>search jshint> click on jshint:options > "jshint.options": { "esversion": 6, }

This doesn't help @rahulsharma991 . I am writing a userscript, not a bomb. Please explain this in neater terms WITHOUT Visual Studio, thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rivalak picture rivalak  路  3Comments

onerciller picture onerciller  路  5Comments

linwaytin picture linwaytin  路  4Comments

eperfect picture eperfect  路  4Comments

teemola picture teemola  路  5Comments