.eslintrc.js 514 B

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