@higuma/eslint-config 0.1.2 → 0.1.3

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/base.js +3 -0
  2. package/package.json +9 -32
package/base.js CHANGED
@@ -26,6 +26,9 @@ const base = tseslint.config(
26
26
  globals: {
27
27
  ...globals.node,
28
28
  },
29
+ parserOptions: {
30
+ projectService: true,
31
+ },
29
32
  },
30
33
  plugins: {
31
34
  'simple-import-sort': simpleImportSort,
package/package.json CHANGED
@@ -1,35 +1,18 @@
1
1
  {
2
2
  "name": "@higuma/eslint-config",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Shared ESLint flat configs for Higuma Soft projects.",
5
- "keywords": [
6
- "eslint",
7
- "eslint-config",
8
- "typescript",
9
- "higuma"
10
- ],
5
+ "keywords": ["eslint", "eslint-config", "typescript", "higuma"],
11
6
  "author": "Higuma Soft",
12
7
  "license": "MIT",
13
8
  "type": "module",
14
9
  "main": "./index.js",
15
10
  "types": "./index.d.ts",
16
11
  "exports": {
17
- ".": {
18
- "types": "./index.d.ts",
19
- "default": "./index.js"
20
- },
21
- "./base": {
22
- "types": "./base.d.ts",
23
- "default": "./base.js"
24
- },
25
- "./react": {
26
- "types": "./react.d.ts",
27
- "default": "./react.js"
28
- },
29
- "./next": {
30
- "types": "./next.d.ts",
31
- "default": "./next.js"
32
- }
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" }
33
16
  },
34
17
  "files": [
35
18
  "*.js",
@@ -53,14 +36,8 @@
53
36
  "typescript-eslint": "^8.0.0"
54
37
  },
55
38
  "peerDependenciesMeta": {
56
- "@next/eslint-plugin-next": {
57
- "optional": true
58
- },
59
- "eslint-plugin-react": {
60
- "optional": true
61
- },
62
- "eslint-plugin-react-hooks": {
63
- "optional": true
64
- }
39
+ "@next/eslint-plugin-next": { "optional": true },
40
+ "eslint-plugin-react": { "optional": true },
41
+ "eslint-plugin-react-hooks": { "optional": true }
65
42
  }
66
43
  }