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.

.eslintrc.js 472B

123456789101112131415161718192021
  1. module.exports = {
  2. root: true,
  3. 'extends': [
  4. 'plugin:vue/essential',
  5. // '@vue/standard'
  6. ],
  7. rules: {
  8. // allow async-await
  9. 'generator-star-spacing': 'off',
  10. // allow debugger during development
  11. 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  12. 'vue/no-parsing-error': [2, {
  13. 'x-invalid-end-tag': false
  14. }],
  15. 'no-undef': 'off',
  16. 'camelcase': 'off'
  17. },
  18. parserOptions: {
  19. parser: 'babel-eslint'
  20. }
  21. }