@pob/eslint-config 65.0.0 → 65.0.2

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/lib/index.js CHANGED
@@ -4,6 +4,7 @@ import baseCommonjsConfig from "./base/commonjs.js";
4
4
  import baseModuleConfig from "./base/module.js";
5
5
  import nodePluginCommonjsConfigs from "./node/commonjs.js";
6
6
  import nodePluginModuleConfigs from "./node/module.js";
7
+ import nodeTypescriptConfigs from "./node/typescript.js";
7
8
  import allowImplicitReturnTypeConfig from "./overrides/allow-implicit-return-type.js";
8
9
  import allowUnsafeAsWarnConfig from "./overrides/allow-unsafe-as-warn.js";
9
10
  import allowUnsafeConfig from "./overrides/allow-unsafe.js";
@@ -64,7 +65,7 @@ export default () => {
64
65
  ],
65
66
  }),
66
67
  ...apply({
67
- files: testFiles,
68
+ files: tsTestFiles,
68
69
  configs: [testOverrideConfig],
69
70
  }),
70
71
  ];
@@ -154,6 +155,7 @@ export default () => {
154
155
  }),
155
156
 
156
157
  ...typescriptConfigs,
158
+ ...nodeTypescriptConfigs,
157
159
 
158
160
  ...apply({
159
161
  files: tsTestFiles,
@@ -0,0 +1,15 @@
1
+ import { createNodeResolver } from "eslint-plugin-import-x";
2
+
3
+ export default [
4
+ {
5
+ name: "@pob/eslint-config/node/typescript",
6
+ settings: {
7
+ "import-x/resolver-next": [
8
+ createNodeResolver({
9
+ extensions: [".mjs", ".js", ".json", ".ts"],
10
+ conditionNames: ["node", "import"],
11
+ }),
12
+ ],
13
+ },
14
+ },
15
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pob/eslint-config",
3
- "version": "65.0.0",
3
+ "version": "65.0.2",
4
4
  "description": "eslint config files",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (http://christophe.hurpeau.com/)",
@@ -51,7 +51,7 @@
51
51
  "dependencies": {
52
52
  "@eslint/js": "^9.39.1",
53
53
  "@eslint/json": "^0.14.0",
54
- "@pob/eslint-plugin": "64.2.0",
54
+ "@pob/eslint-plugin": "65.0.1",
55
55
  "@typescript-eslint/eslint-plugin": "^8.43.0",
56
56
  "@typescript-eslint/parser": "^8.43.0",
57
57
  "confusing-browser-globals": "^1.0.11",
@@ -64,7 +64,7 @@
64
64
  "devDependencies": {
65
65
  "@typescript-eslint/eslint-plugin": "8.43.0",
66
66
  "@typescript-eslint/parser": "8.43.0",
67
- "eslint": "9.39.1",
67
+ "eslint": "9.39.2",
68
68
  "eslint-plugin-import-x": "4.16.1",
69
69
  "eslint-plugin-n": "17.23.1",
70
70
  "eslint-plugin-regexp": "2.10.0",