我正在做一个有eslintrc文件的项目,当我在我的Intellij项目中运行npm run test时。我得到一个错误
Expected indentation of 1 tab character but found 0
我尝试选中为.eslintrc文件启用ESlint搜索>其他设置>默认设置>语言和框架> javascript >代码质量工具> ESLint的复选框
{
"parser": "babel-eslint",
"extends": [
"airbnb",
我正在准备我的第一次试镜。由于某些原因,它在其他计算机上工作,但我的除外。
Im使用VScode
一旦打开编辑器,就会收到以下消息:无法读取配置文件:/Users/user/Documents/repos/project/C:/mydirectory/.eslintrc.json Error: ENOENT: no such file or directory, open Source: ESLint (Extension)
.eslintrc.json在我的根目录上。
这是我的配置文件:
{
"parser": "babel-eslint",