WebStorm和ESLint(找不到模块'usr / lib / node_modules / semistandard / lib / cli,js')

时间:2017-10-23 15:39:43

标签: webstorm eslint standardjs

我刚刚安装了StandardJS并意识到我想要分号。我偶然发现了Semistandard(这是“所有标准+分号的优点”),但是我很难将它作为我的代码样式添加到我的IDE(RubyMine)中。

我使用npm install semistandard -g全局安装了semistandard并选择它作为我的ESLint包,就像我使用标准一样,但是当我按下apply时,IDE会抱怨错误消息:

“ESLint:初始化错误(ESLint)。无法找到模块'/usr/lib/node_modules/semistandard/lib/cli.js”。

是否有人遇到此错误消息或知道如何修复它?

1 个答案:

答案 0 :(得分:3)

不支持Semistandard,请投票给WEB-29114

相关问题