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']
posted @ 2017-07-23 15:12  你的峰哥  阅读(11462)  评论(0编辑  收藏  举报