@pob/eslint-config 59.5.0 → 59.6.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 +19 -0
- package/lib/index.js +1 -1
- package/lib/plugins/import/import-base.js +2 -4
- package/lib/rules/errors.js +3 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## [59.6.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.5.1...v59.6.0) (2025-02-06)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* enable no-self-compare ([7b6d2dc](https://github.com/christophehurpeau/eslint-config-pob/commit/7b6d2dc3c0ddd38fa13174e4107460d1d264173e))
|
|
11
|
+
|
|
12
|
+
Version bump for dependency: @pob/eslint-plugin
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [59.5.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.5.0...v59.5.1) (2025-02-02)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* allow any scripts directory ([1378363](https://github.com/christophehurpeau/eslint-config-pob/commit/1378363ff8be7043e52c0730cd0c06950fc83c25))
|
|
20
|
+
* set import/no-unresolved as warn as long as exports not supported ([3034263](https://github.com/christophehurpeau/eslint-config-pob/commit/30342632f1d9d08c7c4c9624b713f0c63e073d9c))
|
|
21
|
+
|
|
22
|
+
Version bump for dependency: @pob/eslint-plugin
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [59.5.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v59.4.0...v59.5.0) (2025-02-02)
|
|
7
26
|
|
|
8
27
|
### Features
|
package/lib/index.js
CHANGED
|
@@ -25,10 +25,8 @@ export default [
|
|
|
25
25
|
"import/default": "off",
|
|
26
26
|
|
|
27
27
|
// https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
{ commonjs: true, caseSensitive: true },
|
|
31
|
-
],
|
|
28
|
+
// warn as long as exports are not supported
|
|
29
|
+
"import/no-unresolved": ["warn", { commonjs: true, caseSensitive: true }],
|
|
32
30
|
|
|
33
31
|
// https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/named.md
|
|
34
32
|
"import/named": "error",
|
package/lib/rules/errors.js
CHANGED
|
@@ -86,6 +86,9 @@ export default {
|
|
|
86
86
|
// https://eslint.org/docs/rules/no-regex-spaces
|
|
87
87
|
"no-regex-spaces": "error",
|
|
88
88
|
|
|
89
|
+
// https://eslint.org/docs/rules/no-self-compare
|
|
90
|
+
"no-self-compare": "error",
|
|
91
|
+
|
|
89
92
|
// https://eslint.org/docs/rules/no-setter-return
|
|
90
93
|
"no-setter-return": "error",
|
|
91
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/eslint-config",
|
|
3
|
-
"version": "59.
|
|
3
|
+
"version": "59.6.0",
|
|
4
4
|
"description": "eslint config files",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@eslint/js": "^9.16.0",
|
|
47
47
|
"@eslint/json": "^0.10.0",
|
|
48
|
-
"@pob/eslint-plugin": "59.
|
|
48
|
+
"@pob/eslint-plugin": "59.6.0",
|
|
49
49
|
"confusing-browser-globals": "^1.0.11",
|
|
50
50
|
"eslint-plugin-import": "^2.31.0",
|
|
51
51
|
"eslint-plugin-n": "^17.15.1",
|