eslint.config.js 483 B

123456789101112131415161718192021
  1. import js from "@eslint/js";
  2. import eslintPluginVue from "eslint-plugin-vue";
  3. import ts from "typescript-eslint";
  4. import globals from "globals";
  5. export default ts.config(
  6. js.configs.recommended,
  7. ...ts.configs.recommended,
  8. ...eslintPluginVue.configs["flat/recommended"],
  9. {
  10. files: ["*.vue", "**/*.vue"],
  11. languageOptions: {
  12. parserOptions: {
  13. parser: "@typescript-eslint/parser",
  14. },
  15. globals: {
  16. ...globals.browser,
  17. },
  18. },
  19. }
  20. );