import js from "@eslint/js"; import ts from 'typescript-eslint'; import tsEslintParser from "@typescript-eslint/parser"; import tsEslint from "@typescript-eslint/eslint-plugin"; import globals from "globals"; export default ts.config( js.configs.recommended, ...ts.configs.recommended, { languageOptions: { parser: tsEslintParser, parserOptions: { sourceType: 'module', ecmaVersion: 2021, }, globals: { ...globals.browser, ...globals.es2021, ...globals.node, }, }, plugins: { tseslint: tsEslint, }, ignores: [ ".DS_Store", "node_modules", "/dist", "/cmd", "/utils", "/package", "/build", ".env", ".env.*", "!.env.example", "pnpm-lock.yaml", "package-lock.json", "yarn.lock", "bun.lockb", ], } );