.eslintrc.js 403 B

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