我已经在我的机器上安装了eslint并且使用visual studio code 我有一些模块和过程需要导出 当我尝试使用"module"或"process"时,它显示错误信息 之前一切都运行良好。
[eslint] 'module' is not defined. (no-undef)
[eslint] 'process' is not defined. (no-undef)
这是我的 .eslintrc.json 文件
{
"env": {
"browser": true,
"amd": true
},
"parserOptions": {
"ecmaVersion": 6
},
"extends": "eslint:recommended",
"rules": {
"no-console": "off",
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"windows"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
我想要移除这个错误