| 123456789101112131415161718192021 |
- import js from "@eslint/js";
- import eslintPluginVue from "eslint-plugin-vue";
- import ts from "typescript-eslint";
- import globals from "globals";
- export default ts.config(
- js.configs.recommended,
- ...ts.configs.recommended,
- ...eslintPluginVue.configs["flat/recommended"],
- {
- files: ["*.vue", "**/*.vue"],
- languageOptions: {
- parserOptions: {
- parser: "@typescript-eslint/parser",
- },
- globals: {
- ...globals.browser,
- },
- },
- }
- );
|