@jsse/eslint-config 0.7.4 → 0.7.6

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @jsse/eslint-config
2
2
 
3
+ ## 0.7.6
4
+
5
+ ### Patch Changes
6
+
7
+ - update internal deps
8
+
9
+ ## 0.7.5
10
+
11
+ ### Patch Changes
12
+
13
+ - add react-hooks latest stuff"
14
+
3
15
  ## 0.7.4
4
16
 
5
17
  ### Patch Changes
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as VERSION, t as DEBUG$1 } from "./const-qLyrEqZ4.js";
1
+ import { r as VERSION, t as DEBUG$1 } from "./const-Cyv8NdOA.js";
2
2
  import process$1 from "node:process";
3
3
  import fs from "node:fs";
4
4
  //#region node_modules/.pnpm/cac@7.0.0/node_modules/cac/dist/index.js
@@ -1,6 +1,6 @@
1
1
  import process from "node:process";
2
2
  //#region src/_generated/version.ts
3
- const VERSION = "0.7.4";
3
+ const VERSION = "0.7.6";
4
4
  //#endregion
5
5
  //#region src/const.ts
6
6
  /**
package/dist/index.d.ts CHANGED
@@ -18,7 +18,7 @@ import * as _$_eslint_markdown0 from "@eslint/markdown";
18
18
  import * as _$_stylistic_eslint_plugin0 from "@stylistic/eslint-plugin";
19
19
 
20
20
  //#region src/_generated/version.d.ts
21
- declare const VERSION = "0.7.4";
21
+ declare const VERSION = "0.7.6";
22
22
  //#endregion
23
23
  //#region src/_generated/dts/builtins.d.ts
24
24
  interface BuiltinsRuleOptions {
@@ -2884,12 +2884,12 @@ type Yoda = [] | ["always" | "never"] | ["always" | "never", {
2884
2884
  //#region src/_generated/dts/antfu.d.ts
2885
2885
  interface AntfuRuleOptions {
2886
2886
  /**
2887
- * Having line breaks styles to object, array and named imports
2887
+ * Enforce consistent line breaks for chaining member access
2888
2888
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
2889
2889
  */
2890
2890
  "antfu/consistent-chaining"?: Linter.RuleEntry<AntfuConsistentChaining>;
2891
2891
  /**
2892
- * Having line breaks styles to object, array and named imports
2892
+ * Enforce consistent line breaks inside braces and parentheses
2893
2893
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
2894
2894
  */
2895
2895
  "antfu/consistent-list-newline"?: Linter.RuleEntry<AntfuConsistentListNewline>;
@@ -2915,22 +2915,22 @@ interface AntfuRuleOptions {
2915
2915
  "antfu/indent-unindent"?: Linter.RuleEntry<AntfuIndentUnindent>;
2916
2916
  /**
2917
2917
  * Prevent importing modules in `dist` folder
2918
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.test.ts
2918
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.md
2919
2919
  */
2920
2920
  "antfu/no-import-dist"?: Linter.RuleEntry<[]>;
2921
2921
  /**
2922
2922
  * Prevent importing modules in `node_modules` folder by relative or absolute path
2923
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.test.ts
2923
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.md
2924
2924
  */
2925
2925
  "antfu/no-import-node-modules-by-path"?: Linter.RuleEntry<[]>;
2926
2926
  /**
2927
2927
  * Prevent using top-level await
2928
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.test.ts
2928
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.md
2929
2929
  */
2930
2930
  "antfu/no-top-level-await"?: Linter.RuleEntry<[]>;
2931
2931
  /**
2932
2932
  * Do not use `exports =`
2933
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.test.ts
2933
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.md
2934
2934
  */
2935
2935
  "antfu/no-ts-export-equal"?: Linter.RuleEntry<[]>;
2936
2936
  /**
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-N93fKeF6.js";
2
- import { n as SLOW_RULES, r as VERSION, t as DEBUG } from "./const-qLyrEqZ4.js";
2
+ import { n as SLOW_RULES, r as VERSION, t as DEBUG } from "./const-Cyv8NdOA.js";
3
3
  import { builtinModules, createRequire } from "node:module";
4
4
  import process$1 from "node:process";
5
5
  import fs, { realpathSync, statSync } from "node:fs";
@@ -6406,7 +6406,7 @@ quansync$1({
6406
6406
  //#region node_modules/.pnpm/quansync@0.2.11/node_modules/quansync/dist/macro.mjs
6407
6407
  const quansync = quansync$1;
6408
6408
  //#endregion
6409
- //#region node_modules/.pnpm/local-pkg@1.1.2/node_modules/local-pkg/dist/index.mjs
6409
+ //#region node_modules/.pnpm/local-pkg@1.2.1/node_modules/local-pkg/dist/index.mjs
6410
6410
  const toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
6411
6411
  async function findUp$1(name, { cwd = process$1.cwd(), type = "file", stopAt } = {}) {
6412
6412
  let directory = path.resolve(toPath(cwd) ?? "");
@@ -11965,7 +11965,8 @@ const react = async (options) => {
11965
11965
  name: "jsse/react-hooks/rules",
11966
11966
  rules: {
11967
11967
  "react-hooks/exhaustive-deps": "error",
11968
- "react-hooks/rules-of-hooks": "error"
11968
+ "react-hooks/rules-of-hooks": "error",
11969
+ ...pluginReactHooks.configs.recommended.rules
11969
11970
  },
11970
11971
  settings: { react: { version: "detect" } }
11971
11972
  },
@@ -0,0 +1 @@
1
+ {"root":["../src/cli.ts","../src/config-fns.ts","../src/configs.test.ts","../src/const.ts","../src/define-config.ts","../src/dev.ts","../src/fixable.test.ts","../src/fixable.ts","../src/globs.ts","../src/index.ts","../src/lager.ts","../src/plugins-all.test.ts","../src/plugins-all.ts","../src/plugins.ts","../src/presets.ts","../src/types.ts","../src/utils.ts","../src/_generated/fixable-rules-map.ts","../src/_generated/rule-options.d.ts","../src/_generated/version.ts","../src/_generated/dts/antfu.d.ts","../src/_generated/dts/builtins.d.ts","../src/_generated/dts/command.d.ts","../src/_generated/dts/de-morgan.d.ts","../src/_generated/dts/eslint-comments.d.ts","../src/_generated/dts/ignores.d.ts","../src/_generated/dts/imports.d.ts","../src/_generated/dts/javascript.d.ts","../src/_generated/dts/jsdoc.d.ts","../src/_generated/dts/jsonc.d.ts","../src/_generated/dts/markdown.d.ts","../src/_generated/dts/n.d.ts","../src/_generated/dts/no-only-tests.d.ts","../src/_generated/dts/perfectionist.d.ts","../src/_generated/dts/pnpm.d.ts","../src/_generated/dts/prettier.d.ts","../src/_generated/dts/react-hooks.d.ts","../src/_generated/dts/react.d.ts","../src/_generated/dts/sort-package-json.d.ts","../src/_generated/dts/sort-tsconfig.d.ts","../src/_generated/dts/stylistic.d.ts","../src/_generated/dts/toml.d.ts","../src/_generated/dts/typescript.d.ts","../src/_generated/dts/unicorn.d.ts","../src/_generated/dts/vitest.d.ts","../src/_generated/dts/yml.d.ts","../src/configs/_template.ts","../src/configs/antfu.ts","../src/configs/command.ts","../src/configs/de-morgan.ts","../src/configs/eslint-comments.ts","../src/configs/ignores.ts","../src/configs/imports.ts","../src/configs/javascript.ts","../src/configs/jsdoc.ts","../src/configs/jsonc.ts","../src/configs/markdown.ts","../src/configs/n.ts","../src/configs/no-only-tests.ts","../src/configs/perfectionist.ts","../src/configs/pnpm.ts","../src/configs/prettier.ts","../src/configs/react.ts","../src/configs/rules.test.ts","../src/configs/sort-package-json.ts","../src/configs/sort-tsconfig.ts","../src/configs/stylistic.ts","../src/configs/toml.ts","../src/configs/tsdoc.ts","../src/configs/unicorn.ts","../src/configs/vitest.ts","../src/configs/yml.ts","../src/configs/_legacy/tailwind.ts","../src/configs/ts/parser.ts","../src/configs/ts/requires-type-checking.ts","../src/configs/ts/typescript-language-options.ts","../src/configs/ts/typescript-rules.ts","../src/configs/ts/typescript.ts"],"version":"6.0.3"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsse/eslint-config",
3
3
  "type": "module",
4
- "version": "0.7.4",
4
+ "version": "0.7.6",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -39,7 +39,7 @@
39
39
  "@eslint-react/eslint-plugin": "^4.2.3",
40
40
  "eslint": "^9.39.1",
41
41
  "eslint-plugin-react": "^7.37.5",
42
- "eslint-plugin-react-hooks": "^7.0.0",
42
+ "eslint-plugin-react-hooks": "^7.1.1",
43
43
  "eslint-plugin-react-refresh": "^0.5.0"
44
44
  },
45
45
  "peerDependenciesMeta": {
@@ -63,16 +63,16 @@
63
63
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
64
64
  "@eslint/compat": "^2.1.0",
65
65
  "@eslint/js": "^9.39.4",
66
- "@eslint/markdown": "^8.0.1",
66
+ "@eslint/markdown": "^8.0.2",
67
67
  "@stylistic/eslint-plugin": "5.10.0",
68
- "@typescript-eslint/eslint-plugin": "^8.59.2",
69
- "@typescript-eslint/parser": "^8.59.2",
70
- "@typescript-eslint/rule-tester": "^8.59.2",
71
- "@vitest/eslint-plugin": "^1.6.17",
68
+ "@typescript-eslint/eslint-plugin": "^8.60.0",
69
+ "@typescript-eslint/parser": "^8.60.0",
70
+ "@typescript-eslint/rule-tester": "^8.60.0",
71
+ "@vitest/eslint-plugin": "^1.6.18",
72
72
  "debug": "^4.4.3",
73
73
  "eslint-config-flat-gitignore": "^2.3.0",
74
74
  "eslint-merge-processors": "^2.0.0",
75
- "eslint-plugin-antfu": "^3.2.2",
75
+ "eslint-plugin-antfu": "^3.2.3",
76
76
  "eslint-plugin-command": "^3.5.2",
77
77
  "eslint-plugin-de-morgan": "^2.1.2",
78
78
  "eslint-plugin-import-lite": "^0.6.0",
@@ -81,7 +81,7 @@
81
81
  "eslint-plugin-n": "^18.0.1",
82
82
  "eslint-plugin-no-only-tests": "^3.4.0",
83
83
  "eslint-plugin-perfectionist": "^5.9.0",
84
- "eslint-plugin-pnpm": "^1.6.0",
84
+ "eslint-plugin-pnpm": "^1.6.1",
85
85
  "eslint-plugin-react": "^7.37.5",
86
86
  "eslint-plugin-react-hooks": "^7.1.1",
87
87
  "eslint-plugin-react-refresh": "^0.5.2",
@@ -91,7 +91,7 @@
91
91
  "eslint-plugin-yml": "^3.3.2",
92
92
  "jsonc-eslint-parser": "^3.1.0",
93
93
  "toml-eslint-parser": "^1.0.3",
94
- "typescript-eslint": "^8.59.2",
94
+ "typescript-eslint": "^8.60.0",
95
95
  "yaml-eslint-parser": "^2.0.0"
96
96
  },
97
97
  "devDependencies": {
@@ -102,7 +102,7 @@
102
102
  "@jsse/tsconfig": "^0.5.1",
103
103
  "@types/debug": "^4.1.13",
104
104
  "@types/fs-extra": "^11.0.4",
105
- "@types/node": "^25.6.2",
105
+ "@types/node": "^25.9.1",
106
106
  "cac": "^7.0.0",
107
107
  "eslint": "^9.39.4",
108
108
  "eslint-flat-config-utils": "^3.2.0",
@@ -112,17 +112,17 @@
112
112
  "fast-glob": "^3.3.3",
113
113
  "fs-extra": "^11.3.5",
114
114
  "globals": "^17.6.0",
115
- "local-pkg": "^1.1.2",
116
- "oxfmt": "^0.48.0",
117
- "oxlint": "^1.63.0",
115
+ "local-pkg": "^1.2.1",
116
+ "oxfmt": "^0.49.0",
117
+ "oxlint": "^1.66.0",
118
118
  "picocolors": "^1.1.1",
119
119
  "prettier": "^3.8.3",
120
120
  "react": "~19.2.6",
121
121
  "rimraf": "^6.1.3",
122
122
  "tsdown": "^0.22.0",
123
- "tsx": "^4.21.0",
123
+ "tsx": "^4.22.3",
124
124
  "typescript": "~6.0.3",
125
- "vitest": "^4.1.5"
125
+ "vitest": "^4.1.7"
126
126
  },
127
127
  "prettier": "@jsse/prettier-config",
128
128
  "scripts": {