mirror of
https://github.com/Mail-0/Zero.git
synced 2026-06-28 14:56:48 +00:00
37 lines
972 B
JavaScript
37 lines
972 B
JavaScript
// import { FlatCompat } from "@eslint/eslintrc";
|
|
// import baseConfig from "@zero/eslint-config";
|
|
// import { dirname, resolve } from "path";
|
|
// import { fileURLToPath } from "url";
|
|
|
|
// const __filename = fileURLToPath(import.meta.url);
|
|
// const __dirname = dirname(__filename);
|
|
|
|
// const compat = new FlatCompat({
|
|
// baseDirectory: __dirname,
|
|
// resolvePluginsRelativeTo: __dirname,
|
|
// });
|
|
|
|
// /** @type {import("eslint").Linter.Config[]} */
|
|
// const eslintConfig = [
|
|
// ...baseConfig,
|
|
// {
|
|
// files: ["**/*.{ts,tsx}"],
|
|
// languageOptions: {
|
|
// parserOptions: {
|
|
// project: resolve(__dirname, "./tsconfig.json"),
|
|
// tsconfigRootDir: __dirname,
|
|
// },
|
|
// },
|
|
// settings: {
|
|
// "import/resolver": {
|
|
// typescript: {
|
|
// project: resolve(__dirname, "./tsconfig.json"),
|
|
// },
|
|
// },
|
|
// },
|
|
// },
|
|
// ...compat.extends("next/core-web-vitals"),
|
|
// ];
|
|
|
|
// export default eslintConfig;
|