@fenge/eslint-config 0.7.25 → 0.8.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.
@@ -322,7 +322,7 @@ export declare function javascript(): readonly [{
322
322
  flat: Record<string, import("eslint-plugin-react").ReactFlatConfig>;
323
323
  };
324
324
  };
325
- readonly "react-hooks": typeof import("eslint-plugin-react-hooks");
325
+ readonly "react-hooks": unknown;
326
326
  readonly regexp: typeof import("eslint-plugin-regexp");
327
327
  readonly sonarjs: typeof import("eslint-plugin-sonarjs");
328
328
  readonly unicorn: import("eslint").ESLint.Plugin & {
@@ -334,7 +334,7 @@ export declare function javascript(): readonly [{
334
334
  };
335
335
  };
336
336
  readonly "es-x": unknown;
337
- readonly "eslint-comments": unknown;
337
+ readonly "eslint-comments": typeof import("@eslint-community/eslint-plugin-eslint-comments");
338
338
  readonly esm: typeof import("eslint-plugin-esm");
339
339
  readonly "simple-import-sort": import("eslint").ESLint.Plugin;
340
340
  readonly "@fenge": typeof import("@fenge/eslint-plugin");
@@ -1,9 +1,9 @@
1
+ import eslintCommentsPlugin from "@eslint-community/eslint-plugin-eslint-comments";
1
2
  import * as fengePlugin from "@fenge/eslint-plugin";
2
3
  import tsParser from "@typescript-eslint/parser";
3
4
  import * as esmPlugin from "eslint-plugin-esm";
4
5
  import nPlugin from "eslint-plugin-n";
5
6
  import reactPlugin from "eslint-plugin-react";
6
- import reactHooksPlugin from "eslint-plugin-react-hooks";
7
7
  import regexpPlugin from "eslint-plugin-regexp";
8
8
  import sonarjsPlugin from "eslint-plugin-sonarjs";
9
9
  export declare function getJsBase(): {
@@ -330,7 +330,7 @@ export declare function getJsBase(): {
330
330
  flat: Record<string, reactPlugin.ReactFlatConfig>;
331
331
  };
332
332
  };
333
- readonly "react-hooks": typeof reactHooksPlugin;
333
+ readonly "react-hooks": unknown;
334
334
  readonly regexp: typeof regexpPlugin;
335
335
  readonly sonarjs: typeof sonarjsPlugin;
336
336
  readonly unicorn: import("eslint").ESLint.Plugin & {
@@ -342,7 +342,7 @@ export declare function getJsBase(): {
342
342
  };
343
343
  };
344
344
  readonly "es-x": unknown;
345
- readonly "eslint-comments": unknown;
345
+ readonly "eslint-comments": typeof eslintCommentsPlugin;
346
346
  readonly esm: typeof esmPlugin;
347
347
  readonly "simple-import-sort": import("eslint").ESLint.Plugin;
348
348
  readonly "@fenge": typeof fengePlugin;
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/config/js/base.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AAEpD,OAAO,QAAQ,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,OAAO,OAAO,MAAM,iBAAiB,CAAC;AAEtC,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,gBAAgB,MAAM,2BAA2B,CAAC;AACzD,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAEhD,OAAO,aAAa,MAAM,uBAAuB,CAAC;AAIlD,wBAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwTnB;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqOR"}
@@ -325,7 +325,7 @@ export declare function getTsBase(): {
325
325
  flat: Record<string, import("eslint-plugin-react").ReactFlatConfig>;
326
326
  };
327
327
  };
328
- readonly "react-hooks": typeof import("eslint-plugin-react-hooks");
328
+ readonly "react-hooks": unknown;
329
329
  readonly regexp: typeof import("eslint-plugin-regexp");
330
330
  readonly sonarjs: typeof import("eslint-plugin-sonarjs");
331
331
  readonly unicorn: import("eslint").ESLint.Plugin & {
@@ -337,7 +337,7 @@ export declare function getTsBase(): {
337
337
  };
338
338
  };
339
339
  readonly "es-x": unknown;
340
- readonly "eslint-comments": unknown;
340
+ readonly "eslint-comments": typeof import("@eslint-community/eslint-plugin-eslint-comments");
341
341
  readonly esm: typeof import("eslint-plugin-esm");
342
342
  readonly "simple-import-sort": import("eslint").ESLint.Plugin;
343
343
  readonly "@fenge": typeof import("@fenge/eslint-plugin");
@@ -324,7 +324,7 @@ export declare function typescript(): readonly [{
324
324
  flat: Record<string, import("eslint-plugin-react").ReactFlatConfig>;
325
325
  };
326
326
  };
327
- readonly "react-hooks": typeof import("eslint-plugin-react-hooks");
327
+ readonly "react-hooks": unknown;
328
328
  readonly regexp: typeof import("eslint-plugin-regexp");
329
329
  readonly sonarjs: typeof import("eslint-plugin-sonarjs");
330
330
  readonly unicorn: import("eslint").ESLint.Plugin & {
@@ -336,7 +336,7 @@ export declare function typescript(): readonly [{
336
336
  };
337
337
  };
338
338
  readonly "es-x": unknown;
339
- readonly "eslint-comments": unknown;
339
+ readonly "eslint-comments": typeof import("@eslint-community/eslint-plugin-eslint-comments");
340
340
  readonly esm: typeof import("eslint-plugin-esm");
341
341
  readonly "simple-import-sort": import("eslint").ESLint.Plugin;
342
342
  readonly "@fenge": typeof import("@fenge/eslint-plugin");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fenge/eslint-config",
3
- "version": "0.7.25",
3
+ "version": "0.8.0",
4
4
  "description": "A super strict eslint config for linting js/ts/package.json.",
5
5
  "keywords": [
6
6
  "opinionated",
@@ -26,7 +26,7 @@
26
26
  "dist"
27
27
  ],
28
28
  "dependencies": {
29
- "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
29
+ "@eslint-community/eslint-plugin-eslint-comments": "4.7.1",
30
30
  "@html-eslint/eslint-plugin": "0.47.0",
31
31
  "@html-eslint/parser": "0.47.0",
32
32
  "@typescript-eslint/eslint-plugin": "8.42.0",
@@ -39,20 +39,20 @@
39
39
  "eslint-plugin-n": "17.23.1",
40
40
  "eslint-plugin-promise": "7.2.1",
41
41
  "eslint-plugin-react": "7.37.5",
42
- "eslint-plugin-react-hooks": "7.0.0",
42
+ "eslint-plugin-react-hooks": "7.0.1",
43
43
  "eslint-plugin-regexp": "2.10.0",
44
44
  "eslint-plugin-simple-import-sort": "12.1.1",
45
45
  "eslint-plugin-sonarjs": "3.0.5",
46
46
  "eslint-plugin-unicorn": "59.0.1",
47
- "globals": "16.5.0",
48
- "@fenge/eslint-plugin": "0.4.3",
49
- "eslint-plugin-esm": "0.9.1",
50
- "@fenge/eslint-plugin-ts": "0.4.11",
51
- "eslint-plugin-pkg-json": "0.4.10",
52
- "eslint-plugin-publint": "0.3.5"
47
+ "globals": "17.4.0",
48
+ "@fenge/eslint-plugin": "0.5.0",
49
+ "@fenge/eslint-plugin-ts": "0.5.0",
50
+ "eslint-plugin-publint": "0.4.0",
51
+ "eslint-plugin-pkg-json": "0.5.0",
52
+ "eslint-plugin-esm": "0.10.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@types/node": "18.19.123",
55
+ "@types/node": "20.19.37",
56
56
  "eslint": "9.22.0",
57
57
  "eslint-config-prettier": "10.1.8"
58
58
  },
@@ -65,7 +65,7 @@
65
65
  }
66
66
  },
67
67
  "engines": {
68
- "node": "^18.20.0 || >=20.10.0"
68
+ "node": ">=20.19.0"
69
69
  },
70
70
  "scripts": {
71
71
  "build": "tscx --include src --exclude '**/*.test.ts'",