Vuejs2 埃斯林特非常敏感

Vuejs2 埃斯林特非常敏感,vuejs2,eslint,Vuejs2,Eslint,很抱歉,我想不起我要找的词,但我有一个通过vue cli的默认vue 2.0项目。为了帮助打字,我允许使用ESLint。我不完全确定它的用途,除了在这一点上激怒某人 比如说, functionName() {} <-- no space after functionName is causing a runtime error AnotherFunc () { var thisthing = '' <-- You suck for not using another 4 space

很抱歉,我想不起我要找的词,但我有一个通过vue cli的默认vue 2.0项目。为了帮助打字,我允许使用ESLint。我不完全确定它的用途,除了在这一点上激怒某人

比如说,

functionName() {} <-- no space after functionName is causing a runtime error

AnotherFunc () {
var thisthing = '' <-- You suck for not using another 4 spaces
    ///Comment <--- expected a space to begin comment after ///
我是说,这有点荒谬。我从中得到了什么?如果没有这些可笑的格式要求,如何获得es6 intellisense?

Edit.eslintrc.js和

替换:

扩展:“标准”

与:

扩展:“eslint:推荐”

那么你的绒线应该放松些

要禁用特定规则,请检查并编辑.eslintrc.js中的rules属性