.eslintrc.js 339 B

12345678910111213141516171819
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. 'extends': [
  7. 'plugin:vue/essential',
  8. 'eslint:recommended'
  9. ],
  10. rules: {
  11. "no-mixed-spaces-and-tabs": "off",
  12. "no-console": 0,
  13. "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
  14. },
  15. parserOptions: {
  16. parser: 'babel-eslint'
  17. },
  18. };