We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef067ef commit 82798e3Copy full SHA for 82798e3
1 file changed
src/eslint/index.ts
@@ -1,12 +1,14 @@
1
-import type { ConfigWithExtends } from "@eslint/config-helpers";
+import type { Config, ConfigWithExtends } from "@eslint/config-helpers";
2
import { defineConfig } from "eslint/config";
3
import { findUpSync } from "find-up-simple";
4
import { isPackageListed } from "local-pkg";
5
import path from "node:path";
6
7
import { basePreset, defaultOverridesPreset } from "./presets/base";
8
9
-export const solvro = async (...overrides: ConfigWithExtends[]) => {
+export const solvro = async (
10
+ ...overrides: ConfigWithExtends[]
11
+): Promise<Config[]> => {
12
const isAdonis = await isPackageListed("@adonisjs/core");
13
const isReact = await isPackageListed("react");
14
const isNestJs = await isPackageListed("@nestjs/core");
0 commit comments