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 544B

12345678910111213141516171819202122
  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. 'no-console':process.env.NODE_ENV === 'production' ? 'error' : 'off',
  18. },
  19. parserOptions: {
  20. parser: 'babel-eslint'
  21. }
  22. }