Atom is only available in ES6(use 'esversion: 6')

Atom使用Jshint时‘const’ is available in ES6 (use ‘esversion: 6’), is only available in ES6(use 'esversion: 6')

在项目的根目录新建一个文件名为.jshintrc的文件,输入

{
     "esversion": 6
}

如图:

Atom is only available in ES6(use 'esversion: 6')_第1张图片
is only available in ES6(use 'esversion: 6')

原文:http://blog.csdn.net/u013887008/article/details/79304399

你可能感兴趣的:(Atom is only available in ES6(use 'esversion: 6'))