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