.eslintrc.js 455 B

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