1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| import pluginVue from "eslint-plugin-vue"; import tsEslint from "typescript-eslint"; import stylistic from "@stylistic/eslint-plugin"; import vueTsEslintConfig from "@vue/eslint-config-typescript";
export default [ { plugins: { "@stylistic": stylistic, }, languageOptions: { parser: tsEslint.parser, }, files: ["**/*.js", "**/*.ts", "**/*.tsx", "**/*.vue"], rules: { ...stylistic.configs["recommended-flat"].rules, "@stylistic/semi": "error", }, }, ...pluginVue.configs["flat/recommended"], ...vueTsEslintConfig(), { rules: { }, }, ];
|