@pob/eslint-plugin 62.0.0 → 65.0.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.
@@ -1,4 +1,9 @@
1
- const fetchLibs = ["node-fetch", "cross-fetch", "isomorphic-fetch"];
1
+ const fetchLibs = [
2
+ "node-fetch",
3
+ "cross-fetch",
4
+ "isomorphic-fetch",
5
+ "@whatwg-node/fetch",
6
+ ];
2
7
 
3
8
  export default {
4
9
  meta: {
@@ -1,5 +1,4 @@
1
1
  import { join } from "node:path";
2
- // eslint-disable-next-line import/no-unresolved
3
2
  import { parser } from "typescript-eslint";
4
3
  import rule from "./react-function-component-return-react-node.js";
5
4
  import { RuleTester } from "./test-utils/RuleTester.js";
@@ -1,5 +1,4 @@
1
1
  import { join } from "node:path";
2
- // eslint-disable-next-line import/no-unresolved
3
2
  import { parser } from "typescript-eslint";
4
3
  import rule from "./react-named-import.js";
5
4
  import { RuleTester } from "./test-utils/RuleTester.js";
@@ -1,5 +1,4 @@
1
1
  import { after, describe, it } from "node:test";
2
- // eslint-disable-next-line import/no-unresolved -- missing main field
3
2
  import { RuleTester } from "@typescript-eslint/rule-tester";
4
3
 
5
4
  RuleTester.afterAll = after;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-plugin",
3
- "version": "62.0.0",
3
+ "version": "65.0.1",
4
4
  "description": "eslint plugin for react",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
@@ -29,12 +29,12 @@
29
29
  ],
30
30
  "scripts": {
31
31
  "lint": "yarn run lint:eslint",
32
- "lint:eslint": "yarn ../.. run eslint --quiet @pob/eslint-plugin"
32
+ "lint:eslint": "yarn ../.. run eslint --quiet '@pob/eslint-plugin'"
33
33
  },
34
34
  "pob": {},
35
35
  "prettier": "@pob/root/prettier-config",
36
36
  "peerDependencies": {
37
- "eslint": "^9.9.0",
37
+ "eslint": "^9.39.1",
38
38
  "typescript": ">=5.0.0 <6.0.0"
39
39
  },
40
40
  "peerDependenciesMeta": {
@@ -47,9 +47,10 @@
47
47
  "eslint-plugin-react": "^7.37.5"
48
48
  },
49
49
  "devDependencies": {
50
+ "@types/node": "24.10.1",
50
51
  "@typescript-eslint/rule-tester": "8.43.0",
51
- "eslint": "9.35.0",
52
- "typescript": "5.9.2",
52
+ "eslint": "9.39.2",
53
+ "typescript": "5.9.3",
53
54
  "typescript-eslint": "8.43.0"
54
55
  }
55
- }
56
+ }
package/CHANGELOG.md DELETED
@@ -1,141 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [62.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v61.1.0...v62.0.0) (2025-09-11)
7
-
8
- ### ⚠ BREAKING CHANGES
9
-
10
- * drop node 20
11
- * update dependencies
12
-
13
- ### Features
14
-
15
- * drop node 20 ([6b75dc0](https://github.com/christophehurpeau/eslint-config-pob/commit/6b75dc053da0c6b209c6afdc083dd7f096e16835))
16
- * update dependencies ([05e6521](https://github.com/christophehurpeau/eslint-config-pob/commit/05e65216f02e7418b68643147af05be62e432c9d))
17
-
18
- ## [61.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v61.0.0...v61.1.0) (2025-07-06)
19
-
20
- ### Features
21
-
22
- * **deps:** update typescript-eslint monorepo to v8.35.1 ([#756](https://github.com/christophehurpeau/eslint-config-pob/issues/756)) ([5d164d6](https://github.com/christophehurpeau/eslint-config-pob/commit/5d164d6975ab90bf96924b6d6ae04a07e45fe821))
23
-
24
- ## [60.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v60.0.0...v60.1.0) (2025-05-29)
25
-
26
- Note: no notable changes
27
-
28
-
29
- ## [60.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.8.1...v60.0.0) (2025-04-27)
30
-
31
- Note: no notable changes
32
-
33
-
34
- ## [59.8.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.8.0...v59.8.1) (2025-03-16)
35
-
36
- ### Bug Fixes
37
-
38
- * **deps:** update typescript-eslint monorepo to v8.26.1 ([#741](https://github.com/christophehurpeau/eslint-config-pob/issues/741)) ([922f710](https://github.com/christophehurpeau/eslint-config-pob/commit/922f710e77d7a4797594a6b743d17c3885c550a3))
39
-
40
- ## [59.8.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.7.0...v59.8.0) (2025-03-09)
41
-
42
- ### Features
43
-
44
- * add colorette ([82adbbf](https://github.com/christophehurpeau/eslint-config-pob/commit/82adbbf5081a38301ef962b3f0073e1e2565d8ee))
45
- * update typescript ([090972e](https://github.com/christophehurpeau/eslint-config-pob/commit/090972ef3c80511454a8608890d33133dbc3570a))
46
-
47
- ## [59.7.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.6.0...v59.7.0) (2025-02-17)
48
-
49
- ### Features
50
-
51
- * add rule forbid-non-native-node-imports ([0fde6ee](https://github.com/christophehurpeau/eslint-config-pob/commit/0fde6ee308683df6f3804616a216bb7d70969700))
52
- * update eslint-plugin-unicorn ([c8c18f2](https://github.com/christophehurpeau/eslint-config-pob/commit/c8c18f25dde42b9b69d0178d876c4eebe4cce017))
53
-
54
- ## [59.6.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.5.1...v59.6.0) (2025-02-06)
55
-
56
- ### Features
57
-
58
- * **deps:** update typescript-eslint monorepo ([#719](https://github.com/christophehurpeau/eslint-config-pob/issues/719)) ([46cd7fc](https://github.com/christophehurpeau/eslint-config-pob/commit/46cd7fc1e995952d49f3a00f701590158dfb50a4))
59
-
60
- ## [59.5.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.5.0...v59.5.1) (2025-02-02)
61
-
62
- Note: no notable changes
63
-
64
-
65
- ## [59.5.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.4.0...v59.5.0) (2025-02-02)
66
-
67
- Note: no notable changes
68
-
69
-
70
- ## [59.4.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.3.2...v59.4.0) (2025-01-17)
71
-
72
- ### Features
73
-
74
- * json ([bae42fa](https://github.com/christophehurpeau/eslint-config-pob/commit/bae42fa92ed5ee37a0f98aeaea0e6a74f2f0c608))
75
-
76
- ## [59.3.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.2.0...v59.3.0) (2024-12-27)
77
-
78
- ### Bug Fixes
79
-
80
- * **deps:** update typescript-eslint monorepo to v8.18.2 ([#717](https://github.com/christophehurpeau/eslint-config-pob/issues/717)) ([e5f787d](https://github.com/christophehurpeau/eslint-config-pob/commit/e5f787d320b3424c37e0641c4574c3259dad0d25))
81
-
82
- ## [59.2.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.1.2...v59.2.0) (2024-12-17)
83
-
84
- ### Features
85
-
86
- * **deps:** update typescript-eslint monorepo ([#706](https://github.com/christophehurpeau/eslint-config-pob/issues/706)) ([5c50d85](https://github.com/christophehurpeau/eslint-config-pob/commit/5c50d857bd2d4f93160cb70e594445a57f4d7fe9))
87
-
88
- ### Bug Fixes
89
-
90
- * **deps:** update typescript-eslint monorepo to v8.18.1 ([#714](https://github.com/christophehurpeau/eslint-config-pob/issues/714)) ([c78c411](https://github.com/christophehurpeau/eslint-config-pob/commit/c78c4114186e79e049d54a10e629ffa796dfa64a))
91
-
92
- ## [59.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v58.1.0...v59.0.0) (2024-11-26)
93
-
94
- ### ⚠ BREAKING CHANGES
95
-
96
- * drop node 18
97
-
98
- ### Miscellaneous Chores
99
-
100
- * update dev deps and require node 20 ([cbe9fb1](https://github.com/christophehurpeau/eslint-config-pob/commit/cbe9fb15f719edb50251f925ff19b987a159b530))
101
-
102
- ## [58.0.2](https://github.com/christophehurpeau/eslint-config-pob/compare/v58.0.1...v58.0.2) (2024-09-07)
103
-
104
- Note: no notable changes
105
-
106
-
107
- ## [58.0.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v58.0.0...v58.0.1) (2024-08-25)
108
-
109
- Note: no notable changes
110
-
111
-
112
- ## [58.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v57.3.1...v58.0.0) (2024-08-14)
113
-
114
- ### ⚠ BREAKING CHANGES
115
-
116
- * update eslint v9
117
-
118
- ### Features
119
-
120
- * update eslint v9 ([6f8647f](https://github.com/christophehurpeau/eslint-config-pob/commit/6f8647f45589e9a9387bd38b9881fd2035ab32ad))
121
-
122
- ## [57.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v56.1.0...v57.0.0) (2024-08-11)
123
-
124
- ### ⚠ BREAKING CHANGES
125
-
126
- * use flat config
127
-
128
- ### Features
129
-
130
- * use flat config ([b0bda47](https://github.com/christophehurpeau/eslint-config-pob/commit/b0bda47976ec40a30679988c603d425f9b75346f))
131
-
132
- ### Bug Fixes
133
-
134
- * fix error message ([a1abcef](https://github.com/christophehurpeau/eslint-config-pob/commit/a1abcef0a1e6711d121a567f045d7fcaf8516a6c))
135
-
136
- ## [56.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v56.0.0...v56.1.0) (2024-07-27)
137
-
138
- ### Features
139
-
140
- * pob plugin ([fd99ec8](https://github.com/christophehurpeau/eslint-config-pob/commit/fd99ec8711409b3bc9b960f7eb2e0b2e67984381))
141
-