[DevOps][开发环境] why-eslint

78 阅读1分钟
  1. 上线之前检查代码中是够包含 debugger,包含则报错,build 不通过 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,