华西海圻ELN前端工程
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.

18 lines
464 B

  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: ['plugin:vue/essential', 'eslint:recommended'],
  7. rules: {
  8. 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  9. 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  10. //强制使用单引号
  11. quotes: ['error', 'single'],
  12. //强制不使用分号结尾
  13. semi: ['error', 'never']
  14. },
  15. parserOptions: {
  16. parser: 'babel-eslint'
  17. }
  18. }