Timers and other features for Heroes of the Storm
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

28 行
642 B

  1. // http://eslint.org/docs/user-guide/configuring
  2. module.exports = {
  3. root: true,
  4. parser: 'babel-eslint',
  5. parserOptions: {
  6. sourceType: 'module'
  7. },
  8. env: {
  9. browser: true,
  10. },
  11. // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
  12. extends: 'standard',
  13. // required to lint *.vue files
  14. plugins: [
  15. 'html'
  16. ],
  17. // add your custom rules here
  18. 'rules': {
  19. // allow paren-less arrow functions
  20. 'arrow-parens': 0,
  21. // allow async-await
  22. 'generator-star-spacing': 0,
  23. // allow debugger during development
  24. 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
  25. }
  26. }