You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
464 B

  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. 'extends': [
  7. 'plugin:vue/essential',
  8. '@vue/standard'
  9. ],
  10. rules: {
  11. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  12. 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  13. 'semi': 0, // 分号
  14. camelcase: 0, //
  15. 'comma-dangle': 0, // 逗号
  16. 'space-before-function-paren': 0,
  17. },
  18. parserOptions: {
  19. parser: 'babel-eslint'
  20. }
  21. }