@pob/eslint-plugin 61.1.0 → 64.2.0

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";
@@ -8,7 +7,6 @@ const ruleTester = new RuleTester({
8
7
  languageOptions: {
9
8
  parser,
10
9
  parserOptions: {
11
- // eslint-disable-next-line n/no-unsupported-features/node-builtins
12
10
  tsconfigRootDir: join(import.meta.dirname, "../fixtures"),
13
11
  project: "./tsconfig.json",
14
12
  ecmaFeatures: {
@@ -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";
@@ -8,7 +7,6 @@ const ruleTester = new RuleTester({
8
7
  languageOptions: {
9
8
  parser,
10
9
  parserOptions: {
11
- // eslint-disable-next-line n/no-unsupported-features/node-builtins
12
10
  tsconfigRootDir: join(import.meta.dirname, "../fixtures"),
13
11
  project: "./tsconfig.json",
14
12
  ecmaFeatures: {
@@ -1,6 +1,4 @@
1
- // eslint-disable-next-line n/no-unsupported-features/node-builtins
2
1
  import { after, describe, it } from "node:test";
3
- // eslint-disable-next-line import/no-unresolved -- missing main field
4
2
  import { RuleTester } from "@typescript-eslint/rule-tester";
5
3
 
6
4
  RuleTester.afterAll = after;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-plugin",
3
- "version": "61.1.0",
3
+ "version": "64.2.0",
4
4
  "description": "eslint plugin for react",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
@@ -13,7 +13,7 @@
13
13
  "homepage": "https://github.com/christophehurpeau/eslint-config-pob",
14
14
  "type": "module",
15
15
  "engines": {
16
- "node": ">=20.11.0"
16
+ "node": ">=22.18.0"
17
17
  },
18
18
  "sideEffects": false,
19
19
  "main": "./lib/index.js",
@@ -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": {
@@ -43,13 +43,14 @@
43
43
  }
44
44
  },
45
45
  "dependencies": {
46
- "@typescript-eslint/utils": "8.35.1",
47
- "eslint-plugin-react": "^7.35.0"
46
+ "@typescript-eslint/utils": "8.43.0",
47
+ "eslint-plugin-react": "^7.37.5"
48
48
  },
49
49
  "devDependencies": {
50
- "@typescript-eslint/rule-tester": "8.35.1",
51
- "eslint": "9.30.1",
52
- "typescript": "5.8.3",
53
- "typescript-eslint": "8.35.1"
50
+ "@types/node": "24.10.1",
51
+ "@typescript-eslint/rule-tester": "8.43.0",
52
+ "eslint": "9.39.1",
53
+ "typescript": "5.9.3",
54
+ "typescript-eslint": "8.43.0"
54
55
  }
55
- }
56
+ }
package/CHANGELOG.md DELETED
@@ -1,129 +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
- ## [61.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v61.0.0...v61.1.0) (2025-07-06)
7
-
8
- ### Features
9
-
10
- * **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))
11
-
12
- ## [60.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v60.0.0...v60.1.0) (2025-05-29)
13
-
14
- Note: no notable changes
15
-
16
-
17
- ## [60.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.8.1...v60.0.0) (2025-04-27)
18
-
19
- Note: no notable changes
20
-
21
-
22
- ## [59.8.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.8.0...v59.8.1) (2025-03-16)
23
-
24
- ### Bug Fixes
25
-
26
- * **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))
27
-
28
- ## [59.8.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.7.0...v59.8.0) (2025-03-09)
29
-
30
- ### Features
31
-
32
- * add colorette ([82adbbf](https://github.com/christophehurpeau/eslint-config-pob/commit/82adbbf5081a38301ef962b3f0073e1e2565d8ee))
33
- * update typescript ([090972e](https://github.com/christophehurpeau/eslint-config-pob/commit/090972ef3c80511454a8608890d33133dbc3570a))
34
-
35
- ## [59.7.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.6.0...v59.7.0) (2025-02-17)
36
-
37
- ### Features
38
-
39
- * add rule forbid-non-native-node-imports ([0fde6ee](https://github.com/christophehurpeau/eslint-config-pob/commit/0fde6ee308683df6f3804616a216bb7d70969700))
40
- * update eslint-plugin-unicorn ([c8c18f2](https://github.com/christophehurpeau/eslint-config-pob/commit/c8c18f25dde42b9b69d0178d876c4eebe4cce017))
41
-
42
- ## [59.6.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.5.1...v59.6.0) (2025-02-06)
43
-
44
- ### Features
45
-
46
- * **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))
47
-
48
- ## [59.5.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.5.0...v59.5.1) (2025-02-02)
49
-
50
- Note: no notable changes
51
-
52
-
53
- ## [59.5.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.4.0...v59.5.0) (2025-02-02)
54
-
55
- Note: no notable changes
56
-
57
-
58
- ## [59.4.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.3.2...v59.4.0) (2025-01-17)
59
-
60
- ### Features
61
-
62
- * json ([bae42fa](https://github.com/christophehurpeau/eslint-config-pob/commit/bae42fa92ed5ee37a0f98aeaea0e6a74f2f0c608))
63
-
64
- ## [59.3.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.2.0...v59.3.0) (2024-12-27)
65
-
66
- ### Bug Fixes
67
-
68
- * **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))
69
-
70
- ## [59.2.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.1.2...v59.2.0) (2024-12-17)
71
-
72
- ### Features
73
-
74
- * **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))
75
-
76
- ### Bug Fixes
77
-
78
- * **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))
79
-
80
- ## [59.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v58.1.0...v59.0.0) (2024-11-26)
81
-
82
- ### ⚠ BREAKING CHANGES
83
-
84
- * drop node 18
85
-
86
- ### Miscellaneous Chores
87
-
88
- * update dev deps and require node 20 ([cbe9fb1](https://github.com/christophehurpeau/eslint-config-pob/commit/cbe9fb15f719edb50251f925ff19b987a159b530))
89
-
90
- ## [58.0.2](https://github.com/christophehurpeau/eslint-config-pob/compare/v58.0.1...v58.0.2) (2024-09-07)
91
-
92
- Note: no notable changes
93
-
94
-
95
- ## [58.0.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v58.0.0...v58.0.1) (2024-08-25)
96
-
97
- Note: no notable changes
98
-
99
-
100
- ## [58.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v57.3.1...v58.0.0) (2024-08-14)
101
-
102
- ### ⚠ BREAKING CHANGES
103
-
104
- * update eslint v9
105
-
106
- ### Features
107
-
108
- * update eslint v9 ([6f8647f](https://github.com/christophehurpeau/eslint-config-pob/commit/6f8647f45589e9a9387bd38b9881fd2035ab32ad))
109
-
110
- ## [57.0.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v56.1.0...v57.0.0) (2024-08-11)
111
-
112
- ### ⚠ BREAKING CHANGES
113
-
114
- * use flat config
115
-
116
- ### Features
117
-
118
- * use flat config ([b0bda47](https://github.com/christophehurpeau/eslint-config-pob/commit/b0bda47976ec40a30679988c603d425f9b75346f))
119
-
120
- ### Bug Fixes
121
-
122
- * fix error message ([a1abcef](https://github.com/christophehurpeau/eslint-config-pob/commit/a1abcef0a1e6711d121a567f045d7fcaf8516a6c))
123
-
124
- ## [56.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v56.0.0...v56.1.0) (2024-07-27)
125
-
126
- ### Features
127
-
128
- * pob plugin ([fd99ec8](https://github.com/christophehurpeau/eslint-config-pob/commit/fd99ec8711409b3bc9b960f7eb2e0b2e67984381))
129
-