@devapoo-dev/eslint-config 1.1.10 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +11 -0
  2. package/package.json +2 -2
package/index.d.ts ADDED
@@ -0,0 +1,11 @@
1
+ import type antfu from '@antfu/eslint-config';
2
+
3
+ type AntfuParams = Parameters<typeof antfu>;
4
+ type AntfuReturn = ReturnType<typeof antfu>;
5
+ type Options = AntfuParams[0];
6
+ type UserConfigs = AntfuParams[1][];
7
+
8
+ export function createConfig(
9
+ options?: (Options & { remix?: boolean }) | undefined,
10
+ ...userConfigs: UserConfigs
11
+ ): AntfuReturn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devapoo-dev/eslint-config",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "type": "module",
5
5
  "main": "index.mjs",
6
6
  "types": "index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "tailwindcss": "^4.2.2"
15
15
  },
16
16
  "devDependencies": {
17
- "@devapoo-dev/tsconfig": "0.0.8"
17
+ "@devapoo-dev/tsconfig": "0.0.10"
18
18
  },
19
19
  "scripts": {
20
20
  "lint": "eslint .",