@higuma/eslint-config 0.1.0 → 0.1.1

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.
package/base.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ declare const base: Linter.Config[];
4
+ export default base;
package/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ declare const base: Linter.Config[];
4
+ declare const react: Linter.Config[];
5
+ declare const next: Linter.Config[];
6
+
7
+ export { base, react, next };
8
+ export default base;
package/next.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ declare const next: Linter.Config[];
4
+ export default next;
package/package.json CHANGED
@@ -1,20 +1,22 @@
1
1
  {
2
2
  "name": "@higuma/eslint-config",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Shared ESLint flat configs for Higuma Soft projects.",
5
5
  "keywords": ["eslint", "eslint-config", "typescript", "higuma"],
6
6
  "author": "Higuma Soft",
7
7
  "license": "MIT",
8
8
  "type": "module",
9
9
  "main": "./index.js",
10
+ "types": "./index.d.ts",
10
11
  "exports": {
11
- ".": "./index.js",
12
- "./base": "./base.js",
13
- "./react": "./react.js",
14
- "./next": "./next.js"
12
+ ".": { "types": "./index.d.ts", "default": "./index.js" },
13
+ "./base": { "types": "./base.d.ts", "default": "./base.js" },
14
+ "./react": { "types": "./react.d.ts", "default": "./react.js" },
15
+ "./next": { "types": "./next.d.ts", "default": "./next.js" }
15
16
  },
16
17
  "files": [
17
18
  "*.js",
19
+ "*.d.ts",
18
20
  "README.md"
19
21
  ],
20
22
  "publishConfig": {
@@ -34,14 +36,8 @@
34
36
  "typescript-eslint": "^8.0.0"
35
37
  },
36
38
  "peerDependenciesMeta": {
37
- "@next/eslint-plugin-next": {
38
- "optional": true
39
- },
40
- "eslint-plugin-react": {
41
- "optional": true
42
- },
43
- "eslint-plugin-react-hooks": {
44
- "optional": true
45
- }
39
+ "@next/eslint-plugin-next": { "optional": true },
40
+ "eslint-plugin-react": { "optional": true },
41
+ "eslint-plugin-react-hooks": { "optional": true }
46
42
  }
47
43
  }
package/react.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ declare const react: Linter.Config[];
4
+ export default react;