eslint分号设置

.eslintrc.js


'rules': {
  // allow paren-less arrow functions
  'arrow-parens': 0,
  // allow async-await
  'generator-star-spacing': 0,
  // allow debugger during development
  'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
  'semi':['error','always']
原文地址:https://www.cnblogs.com/zaifeng0108/p/7224992.html