@pob/eslint-config 60.1.0 → 62.0.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.
- package/CHANGELOG.md +26 -0
- package/lib/plugins/unicorn.js +14 -2
- package/lib/rules/code-quality.js +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,32 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
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
|
+
Version bump for dependency: @pob/eslint-plugin
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [61.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v61.0.0...v61.1.0) (2025-07-06)
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* **deps:** update dependency eslint-plugin-import to v2.32.0 ([#779](https://github.com/christophehurpeau/eslint-config-pob/issues/779)) ([d62f84d](https://github.com/christophehurpeau/eslint-config-pob/commit/d62f84d3399f914c65cada9ff038ec2624b1f4c8))
|
|
26
|
+
* **deps:** update dependency eslint-plugin-unicorn to v59 ([#769](https://github.com/christophehurpeau/eslint-config-pob/issues/769)) ([dc316d5](https://github.com/christophehurpeau/eslint-config-pob/commit/dc316d5903a5c30aacdb0475341576ebf2457e98))
|
|
27
|
+
* increase max complexity ([7c4334d](https://github.com/christophehurpeau/eslint-config-pob/commit/7c4334daf3b5fe19ed058e4d0861c0d6a088f340))
|
|
28
|
+
|
|
29
|
+
Version bump for dependency: @pob/eslint-plugin
|
|
30
|
+
|
|
31
|
+
|
|
6
32
|
## [60.1.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v60.0.0...v60.1.0) (2025-05-29)
|
|
7
33
|
|
|
8
34
|
### Features
|
package/lib/plugins/unicorn.js
CHANGED
|
@@ -200,8 +200,8 @@ export default [
|
|
|
200
200
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-for-each.md
|
|
201
201
|
"unicorn/no-array-for-each": "off",
|
|
202
202
|
|
|
203
|
-
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/
|
|
204
|
-
"unicorn/
|
|
203
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-single-call.md
|
|
204
|
+
"unicorn/prefer-single-call": "error",
|
|
205
205
|
|
|
206
206
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-this-assignment.md
|
|
207
207
|
"unicorn/no-this-assignment": "error",
|
|
@@ -351,6 +351,18 @@ export default [
|
|
|
351
351
|
|
|
352
352
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-polyfills.md
|
|
353
353
|
"unicorn/no-unnecessary-polyfills": "error",
|
|
354
|
+
|
|
355
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-slice-end.md
|
|
356
|
+
"unicorn/no-unnecessary-slice-end": "error",
|
|
357
|
+
|
|
358
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-class-fields.md
|
|
359
|
+
"unicorn/prefer-class-fields": "error",
|
|
360
|
+
|
|
361
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-reverse.md
|
|
362
|
+
"unicorn/no-array-reverse": "error",
|
|
363
|
+
|
|
364
|
+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-sort.md
|
|
365
|
+
"unicorn/no-array-sort": "error",
|
|
354
366
|
},
|
|
355
367
|
},
|
|
356
368
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "62.0.0",
|
|
4
4
|
"description": "eslint config files",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://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": ">=
|
|
16
|
+
"node": ">=22.18.0"
|
|
17
17
|
},
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"main": "./lib/index.js",
|
|
@@ -40,24 +40,24 @@
|
|
|
40
40
|
"pob": {},
|
|
41
41
|
"prettier": "@pob/root/prettier-config",
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"eslint": "^9.
|
|
43
|
+
"eslint": "^9.29.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@eslint/js": "^9.
|
|
47
|
-
"@eslint/json": "^0.
|
|
48
|
-
"@pob/eslint-plugin": "
|
|
46
|
+
"@eslint/js": "^9.35.0",
|
|
47
|
+
"@eslint/json": "^0.13.2",
|
|
48
|
+
"@pob/eslint-plugin": "62.0.0",
|
|
49
49
|
"confusing-browser-globals": "^1.0.11",
|
|
50
|
-
"eslint-plugin-import": "^2.
|
|
51
|
-
"eslint-plugin-n": "^17.
|
|
52
|
-
"eslint-plugin-regexp": "^2.
|
|
53
|
-
"eslint-plugin-unicorn": "^
|
|
50
|
+
"eslint-plugin-import": "^2.32.0",
|
|
51
|
+
"eslint-plugin-n": "^17.21.3",
|
|
52
|
+
"eslint-plugin-regexp": "^2.10.0",
|
|
53
|
+
"eslint-plugin-unicorn": "^61.0.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"eslint": "9.
|
|
57
|
-
"eslint-plugin-import": "2.
|
|
58
|
-
"eslint-plugin-n": "17.
|
|
59
|
-
"eslint-plugin-regexp": "2.
|
|
60
|
-
"eslint-plugin-unicorn": "
|
|
61
|
-
"typescript": "5.
|
|
56
|
+
"eslint": "9.35.0",
|
|
57
|
+
"eslint-plugin-import": "2.32.0",
|
|
58
|
+
"eslint-plugin-n": "17.21.3",
|
|
59
|
+
"eslint-plugin-regexp": "2.10.0",
|
|
60
|
+
"eslint-plugin-unicorn": "61.0.2",
|
|
61
|
+
"typescript": "5.9.2"
|
|
62
62
|
}
|
|
63
63
|
}
|