.eslintrc.js 553 B

1234567891011121314151617181920212223
  1. module.exports = {
  2. root: true,
  3. env: {
  4. node: true,
  5. "vue/setup-compiler-macros": true
  6. },
  7. extends: [
  8. "plugin:vue/vue3-essential",
  9. "eslint:recommended",
  10. "@vue/typescript/recommended",
  11. "plugin:prettier/recommended"
  12. ],
  13. parserOptions: {
  14. ecmaVersion: 2020
  15. },
  16. rules: {
  17. "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
  18. "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
  19. "@typescript-eslint/no-explicit-any": "off",
  20. "vue/multi-word-component-names": "off"
  21. }
  22. };