@pob/eslint-config-typescript-react 65.5.0 → 65.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 +26 -18
- package/package.json +3 -3
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
|
+
## [65.6.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v65.5.1...v65.6.0) (2026-06-28)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add support for .cjs and .mjs file extensions in resolver configuration
|
|
11
|
+
|
|
12
|
+
Version bump for dependency: @pob/eslint-config
|
|
13
|
+
Version bump for dependency: @pob/eslint-plugin
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [65.5.1](https://github.com/christophehurpeau/eslint-config-pob/compare/v65.5.0...v65.5.1) (2026-06-28)
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* simplify rules structure in import-x configuration
|
|
21
|
+
|
|
22
|
+
Version bump for dependency: @pob/eslint-config
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [65.5.0](https://github.com/christophehurpeau/eslint-config-pob/compare/v65.4.3...v65.5.0) (2026-06-12)
|
|
7
26
|
|
|
8
27
|
### Features
|
package/lib/index.js
CHANGED
|
@@ -78,6 +78,8 @@ export default () => {
|
|
|
78
78
|
createNodeResolver({
|
|
79
79
|
extensions: [
|
|
80
80
|
".js", // needed to resolve js files from node_modules
|
|
81
|
+
".cjs",
|
|
82
|
+
".mjs",
|
|
81
83
|
".ts",
|
|
82
84
|
".tsx",
|
|
83
85
|
".ios.ts",
|
|
@@ -115,30 +117,36 @@ export default () => {
|
|
|
115
117
|
settings: {
|
|
116
118
|
"import-x/resolver-next": [
|
|
117
119
|
createNodeResolver({
|
|
118
|
-
extensions: [
|
|
120
|
+
extensions: [
|
|
121
|
+
".js", // needed to resolve js files from node_modules
|
|
122
|
+
".cjs",
|
|
123
|
+
".mjs",
|
|
124
|
+
".ts",
|
|
125
|
+
".tsx",
|
|
126
|
+
".web.ts",
|
|
127
|
+
".web.tsx",
|
|
128
|
+
],
|
|
119
129
|
conditionNames: ["import", "browser"],
|
|
120
130
|
}),
|
|
121
131
|
],
|
|
122
132
|
},
|
|
123
133
|
rules: {
|
|
124
|
-
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
tsx: "never",
|
|
138
|
-
},
|
|
134
|
+
"import-x/extensions": [
|
|
135
|
+
"error",
|
|
136
|
+
"always",
|
|
137
|
+
{
|
|
138
|
+
ignorePackages: true,
|
|
139
|
+
pattern: {
|
|
140
|
+
js: "always",
|
|
141
|
+
cjs: "always",
|
|
142
|
+
mjs: "always",
|
|
143
|
+
cts: "always",
|
|
144
|
+
mts: "never",
|
|
145
|
+
ts: "never",
|
|
146
|
+
tsx: "never",
|
|
139
147
|
},
|
|
140
|
-
|
|
141
|
-
|
|
148
|
+
},
|
|
149
|
+
],
|
|
142
150
|
"import-x/no-unresolved": [
|
|
143
151
|
"error",
|
|
144
152
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pob/eslint-config-typescript-react",
|
|
3
|
-
"version": "65.
|
|
3
|
+
"version": "65.6.0",
|
|
4
4
|
"description": "eslint config files",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"typescript": ">=5.0.0 <7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@pob/eslint-config": "65.
|
|
42
|
-
"@pob/eslint-plugin": "65.
|
|
41
|
+
"@pob/eslint-config": "65.6.0",
|
|
42
|
+
"@pob/eslint-plugin": "65.6.0",
|
|
43
43
|
"eslint-plugin-import-x": "4.16.2",
|
|
44
44
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
45
45
|
"eslint-plugin-react": "7.37.5",
|