import js from "@eslint/js"; import path from "node:path"; import { fileURLToPath } from "node:url"; import tseslint from "typescript-eslint"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); export default [ { ignores: ["dist/**", "node_modules/**"] }, js.configs.recommended, ...tseslint.configs.recommended, { files: ["**/*.ts"], languageOptions: { parserOptions: { project: "./tsconfig.json", tsconfigRootDir: __dirname } }, rules: { "@typescript-eslint/no-explicit-any": "off" } } ];