mirror of
https://github.com/Mail-0/Zero.git
synced 2026-07-01 08:16:28 +00:00
19 lines
470 B
JavaScript
19 lines
470 B
JavaScript
import config from "./packages/eslint-config/eslint.config.mjs";
|
|
import { fileURLToPath } from "url";
|
|
import { resolve } from "path";
|
|
|
|
const __dirname = fileURLToPath(new URL(".", import.meta.url));
|
|
|
|
export default [
|
|
...config,
|
|
{
|
|
files: ["**/*.ts", "**/*.tsx"],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
project: ["./tsconfig.json", "./apps/*/tsconfig.json", "./packages/*/tsconfig.json"],
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
},
|
|
},
|
|
];
|