module.exports = {
  root: true,
  env: {
    node: true,
    es2021: true,
  },
  extends: ["plugin:vue/vue3-essential"],
  parserOptions: {
    ecmaVersion: 12,
    sourceType: "module",
  },
  plugins: ["vue"],
  rules: {
    "vue/no-parsing-error": "error",
    "vue/html-end-tags": "error",
  },
  overrides: [
    {
      files: ["*.uvue"],
      parser: "vue-eslint-parser",
      parserOptions: {
        parser: "@typescript-eslint/parser",
        extraFileExtensions: [".uvue"],
      },
    },
  ],
};
