.eslintrc.js 338 B

123456789101112131415
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true
  5. },
  6. extends: ["plugin:vue/essential", "eslint:recommended"],
  7. parserOptions: {
  8. parser: "babel-eslint"
  9. },
  10. rules: {
  11. "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
  12. "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off"
  13. }
  14. };