Files
eventsphere/apps/api/eslint.config.mjs
2026-04-25 21:57:48 +01:00

25 lines
570 B
JavaScript

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"
}
}
];