.eslintrc.js 392 B

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