.eslintrc.js 628 B

123456789101112131415161718192021222324
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: ['plugin:vue/essential', '@vue/standard'],
  7. parserOptions: {
  8. parser: '@babel/eslint-parser'
  9. },
  10. rules: {
  11. 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  12. 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  13. 'quote-props': 'off',
  14. indent: 'off',
  15. // "vue/script-indent": [
  16. // "error",
  17. // 4,
  18. // {
  19. // baseIndent: 1,
  20. // },
  21. // ],
  22. 'vue/order-in-components': 'error'
  23. }
  24. }