我已经在我的机器中安装了eslint并且我使用了visual studio代码我有一些模块和进程要导出当我尝试使用"模块"或"进程"时它显示它之前工作正常.
[eslint] 'module' is not defined. (no-undef)
[eslint] 'process' is not defined. (no-undef)
Run Code Online (Sandbox Code Playgroud)
这是我的.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"
]
}
Run Code Online (Sandbox Code Playgroud)
}
我想删除此错误