.eslintrc.js 371 B

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