@petbee/eslint-config 2.0.4 → 2.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@petbee/eslint-config",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "Petbee's eslint config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -38,9 +38,11 @@
38
38
  "url": "https://github.com/petbee/typescript/issues"
39
39
  },
40
40
  "dependencies": {
41
+ "confusing-browser-globals": "^1.0.11"
42
+ },
43
+ "peerDependencies": {
41
44
  "@typescript-eslint/eslint-plugin": "^8.32.1",
42
45
  "@typescript-eslint/parser": "^8.32.1",
43
- "confusing-browser-globals": "^1.0.11",
44
46
  "eslint": "^9.27.0",
45
47
  "eslint-config-prettier": "^10.1.5",
46
48
  "eslint-plugin-cypress": "^4.3.0",
@@ -48,20 +50,59 @@
48
50
  "eslint-plugin-jest": "^28.11.0",
49
51
  "eslint-plugin-n": "^17.18.0",
50
52
  "eslint-plugin-prettier": "^5.4.0",
51
- "eslint-plugin-react": "7.37.5"
52
- },
53
- "peerDependencies": {
53
+ "eslint-plugin-react": "7.37.5",
54
54
  "prettier": ">=3.0.0",
55
55
  "typescript": "^4.0.0 || ^5.0.0"
56
56
  },
57
+ "peerDependenciesMeta": {
58
+ "eslint": {
59
+ "optional": false
60
+ },
61
+ "@typescript-eslint/eslint-plugin": {
62
+ "optional": false
63
+ },
64
+ "@typescript-eslint/parser": {
65
+ "optional": false
66
+ },
67
+ "eslint-config-prettier": {
68
+ "optional": false
69
+ },
70
+ "eslint-plugin-cypress": {
71
+ "optional": false
72
+ },
73
+ "eslint-plugin-import": {
74
+ "optional": false
75
+ },
76
+ "eslint-plugin-jest": {
77
+ "optional": false
78
+ },
79
+ "eslint-plugin-n": {
80
+ "optional": false
81
+ },
82
+ "eslint-plugin-prettier": {
83
+ "optional": false
84
+ },
85
+ "eslint-plugin-react": {
86
+ "optional": false
87
+ },
88
+ "prettier": {
89
+ "optional": false
90
+ },
91
+ "typescript": {
92
+ "optional": false
93
+ }
94
+ },
57
95
  "devDependencies": {
58
96
  "@types/react": "19.1.5",
59
97
  "prettier": "3.5.3",
60
98
  "react": "19.1.0",
61
99
  "typescript": "5.8.3"
62
100
  },
101
+ "engines": {
102
+ "node": ">=18.0.0"
103
+ },
63
104
  "publishConfig": {
64
105
  "access": "public"
65
106
  },
66
- "gitHead": "7783aa347aef3e273d8615ebac94d5bf04d226d7"
107
+ "gitHead": "e327a54aad132b7bee8a95424f3b2f7749bfaaee"
67
108
  }
@@ -288,7 +288,7 @@ if (hasTypescript) {
288
288
  {
289
289
  files: overrides[0]?.files,
290
290
  languageOptions: {
291
- parser: overrides[0]?.parserOptions?.parser,
291
+ parser: require('@typescript-eslint/parser'),
292
292
  parserOptions: overrides[0]?.parserOptions,
293
293
  },
294
294
  plugins: {