import tseslint from "@typescript-eslint/eslint-plugin"; import tsparser from "@typescript-eslint/parser"; export default [ { files: ["src/**/*.ts"], languageOptions: { parser: tsparser, parserOptions: { projectService: true, }, }, plugins: { "@typescript-eslint": tseslint, }, rules: { ...tseslint.configs.recommended.rules, "@typescript-eslint/no-unused-vars": [ "error", { argsIgnorePattern: "^_" }, ], "no-console": "warn", }, }, ];