📜  eslint 错误 'require' 未定义 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:42.430000             🧑  作者: Mango

代码示例1
Adding amd to env inside .eslintrc will enable you 
to use define() and require(), 
as per the amd spec:

{
  "env": {
    "amd": true
  }
}