@jsse/eslint-config 0.7.1 → 0.7.3

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.3
4
+
5
+ ### Patch Changes
6
+
7
+ - deps up
8
+
9
+ ## 0.7.2
10
+
11
+ ### Patch Changes
12
+
13
+ - update several package versions
14
+
3
15
  ## 0.7.1
4
16
 
5
17
  ### Patch Changes
@@ -6,7 +6,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
9
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
10
  var __exportAll = (all, no_symbols) => {
11
11
  let target = {};
12
12
  for (var name in all) __defProp(target, name, {
package/dist/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as VERSION, t as DEBUG$1 } from "./const-7b74P6Qm.js";
1
+ import { r as VERSION, t as DEBUG$1 } from "./const-al-GWtxp.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.1";
3
+ const VERSION = "0.7.3";
4
4
  //#endregion
5
5
  //#region src/const.ts
6
6
  /**
package/dist/index.d.ts CHANGED
@@ -11,14 +11,14 @@ import pluginPnpm from "eslint-plugin-pnpm";
11
11
  import pluginUnicorn from "eslint-plugin-unicorn";
12
12
  import pluginUnusedImports from "eslint-plugin-unused-imports";
13
13
  import * as _$eslint from "eslint";
14
- import { Linter, Rule } from "eslint";
14
+ import { Linter } from "eslint";
15
15
  import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
16
16
  import * as _$eslint_plugin_react0 from "eslint-plugin-react";
17
17
  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.1";
21
+ declare const VERSION = "0.7.3";
22
22
  //#endregion
23
23
  //#region src/_generated/dts/builtins.d.ts
24
24
  interface BuiltinsRuleOptions {
@@ -5143,7 +5143,7 @@ type NShebang = [] | [{
5143
5143
  //#region src/_generated/dts/no-only-tests.d.ts
5144
5144
  interface NoOnlyTestsRuleOptions {
5145
5145
  /**
5146
- * disallow .only blocks in tests
5146
+ * disallow focused/only tests
5147
5147
  * @see https://github.com/levibuzolic/eslint-plugin-no-only-tests
5148
5148
  */
5149
5149
  "no-only-tests/no-only-tests"?: Linter.RuleEntry<NoOnlyTestsNoOnlyTests>;
@@ -5617,6 +5617,7 @@ type PerfectionistSortClasses = {
5617
5617
  matchesAstSelector?: string;
5618
5618
  };
5619
5619
  useExperimentalDependencyDetection?: boolean;
5620
+ newlinesBetweenOverloadSignatures?: "ignore" | number;
5620
5621
  ignoreCallbackDependenciesPatterns?: ({
5621
5622
  pattern: string;
5622
5623
  flags?: string;
@@ -6980,6 +6981,7 @@ type PerfectionistSortModules = [] | [{
6980
6981
  })[];
6981
6982
  newlinesBetween?: "ignore" | number;
6982
6983
  useExperimentalDependencyDetection?: boolean;
6984
+ newlinesBetweenOverloadSignatures?: "ignore" | number;
6983
6985
  partitionByComment?: boolean | (({
6984
6986
  pattern: string;
6985
6987
  flags?: string;
@@ -7960,24 +7962,24 @@ interface PrettierRuleOptions {}
7960
7962
  //#endregion
7961
7963
  //#region src/_generated/dts/react.d.ts
7962
7964
  interface ReactRuleOptions {
7963
- /**
7964
- * Verifies that automatic effect dependencies are compiled if opted-in
7965
- */
7966
- "react-hooks/automatic-effect-dependencies"?: Linter.RuleEntry<ReactHooksAutomaticEffectDependencies$1>;
7967
7965
  /**
7968
7966
  * Validates against calling capitalized functions/methods instead of using JSX
7967
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/capitalized-calls
7969
7968
  */
7970
7969
  "react-hooks/capitalized-calls"?: Linter.RuleEntry<ReactHooksCapitalizedCalls$1>;
7971
7970
  /**
7972
- * Validates against higher order functions defining nested components or hooks. Components and hooks should be defined at the module level
7971
+ * Deprecated: this rule has been removed in 7.1.0.
7972
+ * @deprecated
7973
7973
  */
7974
- "react-hooks/component-hook-factories"?: Linter.RuleEntry<ReactHooksComponentHookFactories$1>;
7974
+ "react-hooks/component-hook-factories"?: Linter.RuleEntry<[]>;
7975
7975
  /**
7976
7976
  * Validates the compiler configuration options
7977
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/config
7977
7978
  */
7978
7979
  "react-hooks/config"?: Linter.RuleEntry<ReactHooksConfig$1>;
7979
7980
  /**
7980
7981
  * Validates usage of error boundaries instead of try/catch for errors in child components
7982
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/error-boundaries
7981
7983
  */
7982
7984
  "react-hooks/error-boundaries"?: Linter.RuleEntry<ReactHooksErrorBoundaries$1>;
7983
7985
  /**
@@ -7986,59 +7988,78 @@ interface ReactRuleOptions {
7986
7988
  */
7987
7989
  "react-hooks/exhaustive-deps"?: Linter.RuleEntry<ReactHooksExhaustiveDeps$1>;
7988
7990
  /**
7989
- * Validates usage of fbt
7991
+ * Validates that effect dependencies are exhaustive and without extraneous values
7992
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-effect-dependencies
7990
7993
  */
7991
- "react-hooks/fbt"?: Linter.RuleEntry<ReactHooksFbt$1>;
7994
+ "react-hooks/exhaustive-effect-dependencies"?: Linter.RuleEntry<ReactHooksExhaustiveEffectDependencies$1>;
7992
7995
  /**
7993
- * Validates usage of `fire`
7996
+ * Validates usage of fbt
7997
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/fbt
7994
7998
  */
7995
- "react-hooks/fire"?: Linter.RuleEntry<ReactHooksFire$1>;
7999
+ "react-hooks/fbt"?: Linter.RuleEntry<ReactHooksFbt$1>;
7996
8000
  /**
7997
8001
  * Validates configuration of [gating mode](https://react.dev/reference/react-compiler/gating)
8002
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/gating
7998
8003
  */
7999
8004
  "react-hooks/gating"?: Linter.RuleEntry<ReactHooksGating$1>;
8000
8005
  /**
8001
8006
  * Validates against assignment/mutation of globals during render, part of ensuring that [side effects must render outside of render](https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
8007
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/globals
8002
8008
  */
8003
8009
  "react-hooks/globals"?: Linter.RuleEntry<ReactHooksGlobals$1>;
8004
8010
  /**
8005
8011
  * Validates the rules of hooks
8012
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/hooks
8006
8013
  */
8007
8014
  "react-hooks/hooks"?: Linter.RuleEntry<ReactHooksHooks$1>;
8008
8015
  /**
8009
8016
  * Validates against mutating props, state, and other values that [are immutable](https://react.dev/reference/rules/components-and-hooks-must-be-pure#props-and-state-are-immutable)
8017
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability
8010
8018
  */
8011
8019
  "react-hooks/immutability"?: Linter.RuleEntry<ReactHooksImmutability$1>;
8012
8020
  /**
8013
8021
  * Validates against usage of libraries which are incompatible with memoization (manual or automatic)
8022
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/incompatible-library
8014
8023
  */
8015
8024
  "react-hooks/incompatible-library"?: Linter.RuleEntry<ReactHooksIncompatibleLibrary$1>;
8016
8025
  /**
8017
8026
  * Internal invariants
8027
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/invariant
8018
8028
  */
8019
8029
  "react-hooks/invariant"?: Linter.RuleEntry<ReactHooksInvariant$1>;
8030
+ /**
8031
+ * Validates that useMemo() and useCallback() specify comprehensive dependencies without extraneous values. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
8032
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/memo-dependencies
8033
+ */
8034
+ "react-hooks/memo-dependencies"?: Linter.RuleEntry<ReactHooksMemoDependencies$1>;
8020
8035
  /**
8021
8036
  * Validates that effect dependencies are memoized
8037
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/memoized-effect-dependencies
8022
8038
  */
8023
8039
  "react-hooks/memoized-effect-dependencies"?: Linter.RuleEntry<ReactHooksMemoizedEffectDependencies$1>;
8024
8040
  /**
8025
8041
  * Validates against deriving values from state in an effect
8042
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/no-deriving-state-in-effects
8026
8043
  */
8027
8044
  "react-hooks/no-deriving-state-in-effects"?: Linter.RuleEntry<ReactHooksNoDerivingStateInEffects$1>;
8028
8045
  /**
8029
8046
  * Validates that existing manual memoized is preserved by the compiler. React Compiler will only compile components and hooks if its inference [matches or exceeds the existing manual memoization](https://react.dev/learn/react-compiler/introduction#what-should-i-do-about-usememo-usecallback-and-reactmemo)
8047
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization
8030
8048
  */
8031
8049
  "react-hooks/preserve-manual-memoization"?: Linter.RuleEntry<ReactHooksPreserveManualMemoization$1>;
8032
8050
  /**
8033
8051
  * Validates that [components/hooks are pure](https://react.dev/reference/rules/components-and-hooks-must-be-pure) by checking that they do not call known-impure functions
8052
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
8034
8053
  */
8035
8054
  "react-hooks/purity"?: Linter.RuleEntry<ReactHooksPurity$1>;
8036
8055
  /**
8037
8056
  * Validates correct usage of refs, not reading/writing during render. See the "pitfalls" section in [`useRef()` usage](https://react.dev/reference/react/useRef#usage)
8057
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
8038
8058
  */
8039
8059
  "react-hooks/refs"?: Linter.RuleEntry<ReactHooksRefs$1>;
8040
8060
  /**
8041
8061
  * Validates against suppression of other rules
8062
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/rule-suppression
8042
8063
  */
8043
8064
  "react-hooks/rule-suppression"?: Linter.RuleEntry<ReactHooksRuleSuppression$1>;
8044
8065
  /**
@@ -8047,35 +8068,43 @@ interface ReactRuleOptions {
8047
8068
  */
8048
8069
  "react-hooks/rules-of-hooks"?: Linter.RuleEntry<ReactHooksRulesOfHooks$1>;
8049
8070
  /**
8050
- * Validates against calling setState synchronously in an effect, which can lead to re-renders that degrade performance
8071
+ * Validates against calling setState synchronously in an effect. This can indicate non-local derived data, a derived event pattern, or improper external data synchronization.
8072
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
8051
8073
  */
8052
8074
  "react-hooks/set-state-in-effect"?: Linter.RuleEntry<ReactHooksSetStateInEffect$1>;
8053
8075
  /**
8054
8076
  * Validates against setting state during render, which can trigger additional renders and potential infinite render loops
8077
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-render
8055
8078
  */
8056
8079
  "react-hooks/set-state-in-render"?: Linter.RuleEntry<ReactHooksSetStateInRender$1>;
8057
8080
  /**
8058
8081
  * Validates that components are static, not recreated every render. Components that are recreated dynamically can reset state and trigger excessive re-rendering
8082
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/static-components
8059
8083
  */
8060
8084
  "react-hooks/static-components"?: Linter.RuleEntry<ReactHooksStaticComponents$1>;
8061
8085
  /**
8062
8086
  * Validates against invalid syntax
8087
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/syntax
8063
8088
  */
8064
8089
  "react-hooks/syntax"?: Linter.RuleEntry<ReactHooksSyntax$1>;
8065
8090
  /**
8066
8091
  * Unimplemented features
8092
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/todo
8067
8093
  */
8068
8094
  "react-hooks/todo"?: Linter.RuleEntry<ReactHooksTodo$1>;
8069
8095
  /**
8070
8096
  * Validates against syntax that we do not plan to support in React Compiler
8097
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/unsupported-syntax
8071
8098
  */
8072
8099
  "react-hooks/unsupported-syntax"?: Linter.RuleEntry<ReactHooksUnsupportedSyntax$1>;
8073
8100
  /**
8074
8101
  * Validates usage of the useMemo() hook against common mistakes. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
8102
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/use-memo
8075
8103
  */
8076
8104
  "react-hooks/use-memo"?: Linter.RuleEntry<ReactHooksUseMemo$1>;
8077
8105
  /**
8078
8106
  * Validates that useMemos always return a value and that the result of the useMemo is used by the component/hook. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
8107
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/void-use-memo
8079
8108
  */
8080
8109
  "react-hooks/void-use-memo"?: Linter.RuleEntry<ReactHooksVoidUseMemo$1>;
8081
8110
  "react-refresh/only-export-components"?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
@@ -8598,15 +8627,9 @@ interface ReactRuleOptions {
8598
8627
  "react/void-dom-elements-no-children"?: Linter.RuleEntry<[]>;
8599
8628
  }
8600
8629
  /* ======= Declarations ======= */
8601
- // ----- react-hooks/automatic-effect-dependencies -----
8602
- type ReactHooksAutomaticEffectDependencies$1 = [] | [{
8603
- [k: string]: unknown | undefined;
8604
- }]; // ----- react-hooks/capitalized-calls -----
8630
+ // ----- react-hooks/capitalized-calls -----
8605
8631
  type ReactHooksCapitalizedCalls$1 = [] | [{
8606
8632
  [k: string]: unknown | undefined;
8607
- }]; // ----- react-hooks/component-hook-factories -----
8608
- type ReactHooksComponentHookFactories$1 = [] | [{
8609
- [k: string]: unknown | undefined;
8610
8633
  }]; // ----- react-hooks/config -----
8611
8634
  type ReactHooksConfig$1 = [] | [{
8612
8635
  [k: string]: unknown | undefined;
@@ -8619,12 +8642,12 @@ type ReactHooksExhaustiveDeps$1 = [] | [{
8619
8642
  enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
8620
8643
  experimental_autoDependenciesHooks?: string[];
8621
8644
  requireExplicitEffectDeps?: boolean;
8645
+ }]; // ----- react-hooks/exhaustive-effect-dependencies -----
8646
+ type ReactHooksExhaustiveEffectDependencies$1 = [] | [{
8647
+ [k: string]: unknown | undefined;
8622
8648
  }]; // ----- react-hooks/fbt -----
8623
8649
  type ReactHooksFbt$1 = [] | [{
8624
8650
  [k: string]: unknown | undefined;
8625
- }]; // ----- react-hooks/fire -----
8626
- type ReactHooksFire$1 = [] | [{
8627
- [k: string]: unknown | undefined;
8628
8651
  }]; // ----- react-hooks/gating -----
8629
8652
  type ReactHooksGating$1 = [] | [{
8630
8653
  [k: string]: unknown | undefined;
@@ -8643,6 +8666,9 @@ type ReactHooksIncompatibleLibrary$1 = [] | [{
8643
8666
  }]; // ----- react-hooks/invariant -----
8644
8667
  type ReactHooksInvariant$1 = [] | [{
8645
8668
  [k: string]: unknown | undefined;
8669
+ }]; // ----- react-hooks/memo-dependencies -----
8670
+ type ReactHooksMemoDependencies$1 = [] | [{
8671
+ [k: string]: unknown | undefined;
8646
8672
  }]; // ----- react-hooks/memoized-effect-dependencies -----
8647
8673
  type ReactHooksMemoizedEffectDependencies$1 = [] | [{
8648
8674
  [k: string]: unknown | undefined;
@@ -9088,24 +9114,24 @@ type ReactStylePropObject = [] | [{
9088
9114
  //#endregion
9089
9115
  //#region src/_generated/dts/react-hooks.d.ts
9090
9116
  interface ReactHooksRuleOptions {
9091
- /**
9092
- * Verifies that automatic effect dependencies are compiled if opted-in
9093
- */
9094
- "react-hooks/automatic-effect-dependencies"?: Linter.RuleEntry<ReactHooksAutomaticEffectDependencies>;
9095
9117
  /**
9096
9118
  * Validates against calling capitalized functions/methods instead of using JSX
9119
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/capitalized-calls
9097
9120
  */
9098
9121
  "react-hooks/capitalized-calls"?: Linter.RuleEntry<ReactHooksCapitalizedCalls>;
9099
9122
  /**
9100
- * Validates against higher order functions defining nested components or hooks. Components and hooks should be defined at the module level
9123
+ * Deprecated: this rule has been removed in 7.1.0.
9124
+ * @deprecated
9101
9125
  */
9102
- "react-hooks/component-hook-factories"?: Linter.RuleEntry<ReactHooksComponentHookFactories>;
9126
+ "react-hooks/component-hook-factories"?: Linter.RuleEntry<[]>;
9103
9127
  /**
9104
9128
  * Validates the compiler configuration options
9129
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/config
9105
9130
  */
9106
9131
  "react-hooks/config"?: Linter.RuleEntry<ReactHooksConfig>;
9107
9132
  /**
9108
9133
  * Validates usage of error boundaries instead of try/catch for errors in child components
9134
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/error-boundaries
9109
9135
  */
9110
9136
  "react-hooks/error-boundaries"?: Linter.RuleEntry<ReactHooksErrorBoundaries>;
9111
9137
  /**
@@ -9114,59 +9140,78 @@ interface ReactHooksRuleOptions {
9114
9140
  */
9115
9141
  "react-hooks/exhaustive-deps"?: Linter.RuleEntry<ReactHooksExhaustiveDeps>;
9116
9142
  /**
9117
- * Validates usage of fbt
9143
+ * Validates that effect dependencies are exhaustive and without extraneous values
9144
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-effect-dependencies
9118
9145
  */
9119
- "react-hooks/fbt"?: Linter.RuleEntry<ReactHooksFbt>;
9146
+ "react-hooks/exhaustive-effect-dependencies"?: Linter.RuleEntry<ReactHooksExhaustiveEffectDependencies>;
9120
9147
  /**
9121
- * Validates usage of `fire`
9148
+ * Validates usage of fbt
9149
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/fbt
9122
9150
  */
9123
- "react-hooks/fire"?: Linter.RuleEntry<ReactHooksFire>;
9151
+ "react-hooks/fbt"?: Linter.RuleEntry<ReactHooksFbt>;
9124
9152
  /**
9125
9153
  * Validates configuration of [gating mode](https://react.dev/reference/react-compiler/gating)
9154
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/gating
9126
9155
  */
9127
9156
  "react-hooks/gating"?: Linter.RuleEntry<ReactHooksGating>;
9128
9157
  /**
9129
9158
  * Validates against assignment/mutation of globals during render, part of ensuring that [side effects must render outside of render](https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
9159
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/globals
9130
9160
  */
9131
9161
  "react-hooks/globals"?: Linter.RuleEntry<ReactHooksGlobals>;
9132
9162
  /**
9133
9163
  * Validates the rules of hooks
9164
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/hooks
9134
9165
  */
9135
9166
  "react-hooks/hooks"?: Linter.RuleEntry<ReactHooksHooks>;
9136
9167
  /**
9137
9168
  * Validates against mutating props, state, and other values that [are immutable](https://react.dev/reference/rules/components-and-hooks-must-be-pure#props-and-state-are-immutable)
9169
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability
9138
9170
  */
9139
9171
  "react-hooks/immutability"?: Linter.RuleEntry<ReactHooksImmutability>;
9140
9172
  /**
9141
9173
  * Validates against usage of libraries which are incompatible with memoization (manual or automatic)
9174
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/incompatible-library
9142
9175
  */
9143
9176
  "react-hooks/incompatible-library"?: Linter.RuleEntry<ReactHooksIncompatibleLibrary>;
9144
9177
  /**
9145
9178
  * Internal invariants
9179
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/invariant
9146
9180
  */
9147
9181
  "react-hooks/invariant"?: Linter.RuleEntry<ReactHooksInvariant>;
9182
+ /**
9183
+ * Validates that useMemo() and useCallback() specify comprehensive dependencies without extraneous values. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
9184
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/memo-dependencies
9185
+ */
9186
+ "react-hooks/memo-dependencies"?: Linter.RuleEntry<ReactHooksMemoDependencies>;
9148
9187
  /**
9149
9188
  * Validates that effect dependencies are memoized
9189
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/memoized-effect-dependencies
9150
9190
  */
9151
9191
  "react-hooks/memoized-effect-dependencies"?: Linter.RuleEntry<ReactHooksMemoizedEffectDependencies>;
9152
9192
  /**
9153
9193
  * Validates against deriving values from state in an effect
9194
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/no-deriving-state-in-effects
9154
9195
  */
9155
9196
  "react-hooks/no-deriving-state-in-effects"?: Linter.RuleEntry<ReactHooksNoDerivingStateInEffects>;
9156
9197
  /**
9157
9198
  * Validates that existing manual memoized is preserved by the compiler. React Compiler will only compile components and hooks if its inference [matches or exceeds the existing manual memoization](https://react.dev/learn/react-compiler/introduction#what-should-i-do-about-usememo-usecallback-and-reactmemo)
9199
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization
9158
9200
  */
9159
9201
  "react-hooks/preserve-manual-memoization"?: Linter.RuleEntry<ReactHooksPreserveManualMemoization>;
9160
9202
  /**
9161
9203
  * Validates that [components/hooks are pure](https://react.dev/reference/rules/components-and-hooks-must-be-pure) by checking that they do not call known-impure functions
9204
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
9162
9205
  */
9163
9206
  "react-hooks/purity"?: Linter.RuleEntry<ReactHooksPurity>;
9164
9207
  /**
9165
9208
  * Validates correct usage of refs, not reading/writing during render. See the "pitfalls" section in [`useRef()` usage](https://react.dev/reference/react/useRef#usage)
9209
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
9166
9210
  */
9167
9211
  "react-hooks/refs"?: Linter.RuleEntry<ReactHooksRefs>;
9168
9212
  /**
9169
9213
  * Validates against suppression of other rules
9214
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/rule-suppression
9170
9215
  */
9171
9216
  "react-hooks/rule-suppression"?: Linter.RuleEntry<ReactHooksRuleSuppression>;
9172
9217
  /**
@@ -9175,48 +9220,50 @@ interface ReactHooksRuleOptions {
9175
9220
  */
9176
9221
  "react-hooks/rules-of-hooks"?: Linter.RuleEntry<ReactHooksRulesOfHooks>;
9177
9222
  /**
9178
- * Validates against calling setState synchronously in an effect, which can lead to re-renders that degrade performance
9223
+ * Validates against calling setState synchronously in an effect. This can indicate non-local derived data, a derived event pattern, or improper external data synchronization.
9224
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
9179
9225
  */
9180
9226
  "react-hooks/set-state-in-effect"?: Linter.RuleEntry<ReactHooksSetStateInEffect>;
9181
9227
  /**
9182
9228
  * Validates against setting state during render, which can trigger additional renders and potential infinite render loops
9229
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-render
9183
9230
  */
9184
9231
  "react-hooks/set-state-in-render"?: Linter.RuleEntry<ReactHooksSetStateInRender>;
9185
9232
  /**
9186
9233
  * Validates that components are static, not recreated every render. Components that are recreated dynamically can reset state and trigger excessive re-rendering
9234
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/static-components
9187
9235
  */
9188
9236
  "react-hooks/static-components"?: Linter.RuleEntry<ReactHooksStaticComponents>;
9189
9237
  /**
9190
9238
  * Validates against invalid syntax
9239
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/syntax
9191
9240
  */
9192
9241
  "react-hooks/syntax"?: Linter.RuleEntry<ReactHooksSyntax>;
9193
9242
  /**
9194
9243
  * Unimplemented features
9244
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/todo
9195
9245
  */
9196
9246
  "react-hooks/todo"?: Linter.RuleEntry<ReactHooksTodo>;
9197
9247
  /**
9198
9248
  * Validates against syntax that we do not plan to support in React Compiler
9249
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/unsupported-syntax
9199
9250
  */
9200
9251
  "react-hooks/unsupported-syntax"?: Linter.RuleEntry<ReactHooksUnsupportedSyntax>;
9201
9252
  /**
9202
9253
  * Validates usage of the useMemo() hook against common mistakes. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
9254
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/use-memo
9203
9255
  */
9204
9256
  "react-hooks/use-memo"?: Linter.RuleEntry<ReactHooksUseMemo>;
9205
9257
  /**
9206
9258
  * Validates that useMemos always return a value and that the result of the useMemo is used by the component/hook. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
9259
+ * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/void-use-memo
9207
9260
  */
9208
9261
  "react-hooks/void-use-memo"?: Linter.RuleEntry<ReactHooksVoidUseMemo>;
9209
9262
  }
9210
9263
  /* ======= Declarations ======= */
9211
- // ----- react-hooks/automatic-effect-dependencies -----
9212
- type ReactHooksAutomaticEffectDependencies = [] | [{
9213
- [k: string]: unknown | undefined;
9214
- }]; // ----- react-hooks/capitalized-calls -----
9264
+ // ----- react-hooks/capitalized-calls -----
9215
9265
  type ReactHooksCapitalizedCalls = [] | [{
9216
9266
  [k: string]: unknown | undefined;
9217
- }]; // ----- react-hooks/component-hook-factories -----
9218
- type ReactHooksComponentHookFactories = [] | [{
9219
- [k: string]: unknown | undefined;
9220
9267
  }]; // ----- react-hooks/config -----
9221
9268
  type ReactHooksConfig = [] | [{
9222
9269
  [k: string]: unknown | undefined;
@@ -9229,12 +9276,12 @@ type ReactHooksExhaustiveDeps = [] | [{
9229
9276
  enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
9230
9277
  experimental_autoDependenciesHooks?: string[];
9231
9278
  requireExplicitEffectDeps?: boolean;
9279
+ }]; // ----- react-hooks/exhaustive-effect-dependencies -----
9280
+ type ReactHooksExhaustiveEffectDependencies = [] | [{
9281
+ [k: string]: unknown | undefined;
9232
9282
  }]; // ----- react-hooks/fbt -----
9233
9283
  type ReactHooksFbt = [] | [{
9234
9284
  [k: string]: unknown | undefined;
9235
- }]; // ----- react-hooks/fire -----
9236
- type ReactHooksFire = [] | [{
9237
- [k: string]: unknown | undefined;
9238
9285
  }]; // ----- react-hooks/gating -----
9239
9286
  type ReactHooksGating = [] | [{
9240
9287
  [k: string]: unknown | undefined;
@@ -9253,6 +9300,9 @@ type ReactHooksIncompatibleLibrary = [] | [{
9253
9300
  }]; // ----- react-hooks/invariant -----
9254
9301
  type ReactHooksInvariant = [] | [{
9255
9302
  [k: string]: unknown | undefined;
9303
+ }]; // ----- react-hooks/memo-dependencies -----
9304
+ type ReactHooksMemoDependencies = [] | [{
9305
+ [k: string]: unknown | undefined;
9256
9306
  }]; // ----- react-hooks/memoized-effect-dependencies -----
9257
9307
  type ReactHooksMemoizedEffectDependencies = [] | [{
9258
9308
  [k: string]: unknown | undefined;
@@ -11215,15 +11265,6 @@ type TomlSpacedComment = [] | ["always" | "never"] | ["always" | "never", {
11215
11265
  }]; // ----- toml/table-bracket-spacing -----
11216
11266
  type TomlTableBracketSpacing = [] | ["always" | "never"];
11217
11267
  //#endregion
11218
- //#region src/_generated/dts/tsdoc.d.ts
11219
- interface TsdocRuleOptions {
11220
- /**
11221
- * Validates that TypeScript documentation comments conform to the TSDoc standard
11222
- * @see https://tsdoc.org/pages/packages/eslint-plugin-tsdoc
11223
- */
11224
- "tsdoc/syntax"?: Linter.RuleEntry<[]>;
11225
- }
11226
- //#endregion
11227
11268
  //#region src/_generated/dts/typescript.d.ts
11228
11269
  interface TypescriptRuleOptions {
11229
11270
  /**
@@ -14658,7 +14699,7 @@ type YamlSpacedComment = [] | ["always" | "never"] | ["always" | "never", {
14658
14699
  }];
14659
14700
  //#endregion
14660
14701
  //#region src/_generated/rule-options.d.ts
14661
- type RuleOptionsUnion = BuiltinsRuleOptions & AntfuRuleOptions & CommandRuleOptions & DeMorganRuleOptions & EslintCommentsRuleOptions & IgnoresRuleOptions & ImportsRuleOptions & JavascriptRuleOptions$1 & JsdocRuleOptions & JsoncRuleOptions & MarkdownRuleOptions & NRuleOptions & NoOnlyTestsRuleOptions & PerfectionistRuleOptions & PnpmRuleOptions & PrettierRuleOptions & ReactRuleOptions & ReactHooksRuleOptions & SortPackageJsonRuleOptions & SortTsconfigRuleOptions & StylisticRuleOptions & TomlRuleOptions & TsdocRuleOptions & TypescriptRuleOptions & UnicornRuleOptions & VitestRuleOptions & YmlRuleOptions;
14702
+ type RuleOptionsUnion = BuiltinsRuleOptions & AntfuRuleOptions & CommandRuleOptions & DeMorganRuleOptions & EslintCommentsRuleOptions & IgnoresRuleOptions & ImportsRuleOptions & JavascriptRuleOptions$1 & JsdocRuleOptions & JsoncRuleOptions & MarkdownRuleOptions & NRuleOptions & NoOnlyTestsRuleOptions & PerfectionistRuleOptions & PnpmRuleOptions & PrettierRuleOptions & ReactRuleOptions & ReactHooksRuleOptions & SortPackageJsonRuleOptions & SortTsconfigRuleOptions & StylisticRuleOptions & TomlRuleOptions & TypescriptRuleOptions & UnicornRuleOptions & VitestRuleOptions & YmlRuleOptions;
14662
14703
  //#endregion
14663
14704
  //#region src/types.d.ts
14664
14705
  type RulesRecord = Linter.RulesRecord & RuleOptionsUnion;
@@ -15313,13 +15354,6 @@ declare function importPluginReactRefresh(): Promise<{
15313
15354
  declare function importPluginMarkdown(): Promise<{
15314
15355
  pluginMarkdown: typeof _$_eslint_markdown0.default;
15315
15356
  }>;
15316
- declare function importPluginTsdoc(): Promise<{
15317
- pluginTsdoc: {
15318
- rules: {
15319
- [x: string]: Rule.RuleModule;
15320
- };
15321
- };
15322
- }>;
15323
15357
  declare function importPluginStylistic(): Promise<{
15324
15358
  pluginStylistic: {
15325
15359
  rules: _$_stylistic_eslint_plugin0.Rules;
@@ -15385,4 +15419,4 @@ declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, leve
15385
15419
  declare function error2warn<T extends Config>(configs: T[]): T[];
15386
15420
  declare function warn2error<T extends Config>(configs: T[]): T[];
15387
15421
  //#endregion
15388
- export { Awaitable, Config, EslintConfigFn, type JavascriptRuleOptions, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, RulesRecord, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, TypescriptConfigRules, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_d_exports as globs, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
15422
+ export { Awaitable, Config, EslintConfigFn, type JavascriptRuleOptions, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, RulesRecord, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, TypescriptConfigRules, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_d_exports as globs, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-CSNpwdVU.js";
2
- import { n as SLOW_RULES, r as VERSION, t as DEBUG } from "./const-7b74P6Qm.js";
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-al-GWtxp.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";
@@ -3533,23 +3533,21 @@ var ecma10BinaryProperties = ecma9BinaryProperties + " Extended_Pictographic";
3533
3533
  var ecma11BinaryProperties = ecma10BinaryProperties;
3534
3534
  var ecma12BinaryProperties = ecma11BinaryProperties + " EBase EComp EMod EPres ExtPict";
3535
3535
  var ecma13BinaryProperties = ecma12BinaryProperties;
3536
- var ecma14BinaryProperties = ecma13BinaryProperties;
3537
3536
  var unicodeBinaryProperties = {
3538
3537
  9: ecma9BinaryProperties,
3539
3538
  10: ecma10BinaryProperties,
3540
3539
  11: ecma11BinaryProperties,
3541
3540
  12: ecma12BinaryProperties,
3542
3541
  13: ecma13BinaryProperties,
3543
- 14: ecma14BinaryProperties
3542
+ 14: ecma13BinaryProperties
3544
3543
  };
3545
- var ecma14BinaryPropertiesOfStrings = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji";
3546
3544
  var unicodeBinaryPropertiesOfStrings = {
3547
3545
  9: "",
3548
3546
  10: "",
3549
3547
  11: "",
3550
3548
  12: "",
3551
3549
  13: "",
3552
- 14: ecma14BinaryPropertiesOfStrings
3550
+ 14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
3553
3551
  };
3554
3552
  var unicodeGeneralCategoryValues = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";
3555
3553
  var ecma9ScriptValues = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";
@@ -3557,14 +3555,13 @@ var ecma10ScriptValues = ecma9ScriptValues + " Dogra Dogr Gunjala_Gondi Gong Han
3557
3555
  var ecma11ScriptValues = ecma10ScriptValues + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";
3558
3556
  var ecma12ScriptValues = ecma11ScriptValues + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";
3559
3557
  var ecma13ScriptValues = ecma12ScriptValues + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";
3560
- var ecma14ScriptValues = ecma13ScriptValues + " " + scriptValuesAddedInUnicode;
3561
3558
  var unicodeScriptValues = {
3562
3559
  9: ecma9ScriptValues,
3563
3560
  10: ecma10ScriptValues,
3564
3561
  11: ecma11ScriptValues,
3565
3562
  12: ecma12ScriptValues,
3566
3563
  13: ecma13ScriptValues,
3567
- 14: ecma14ScriptValues
3564
+ 14: ecma13ScriptValues + " " + scriptValuesAddedInUnicode
3568
3565
  };
3569
3566
  var data = {};
3570
3567
  function buildUnicodeData(ecmaVersion) {
@@ -5393,6 +5390,7 @@ function makeNodeErrorWithCode(Base, key) {
5393
5390
  configurable: true
5394
5391
  },
5395
5392
  toString: {
5393
+ /** @this {Error} */
5396
5394
  value() {
5397
5395
  return `${this.name} [${key}]: ${this.message}`;
5398
5396
  },
@@ -6638,9 +6636,6 @@ async function importPluginReactRefresh() {
6638
6636
  async function importPluginMarkdown() {
6639
6637
  return { pluginMarkdown: await interopDefault(import("@eslint/markdown")) };
6640
6638
  }
6641
- async function importPluginTsdoc() {
6642
- return { pluginTsdoc: await interopDefault(import("eslint-plugin-tsdoc")) };
6643
- }
6644
6639
  async function importPluginStylistic() {
6645
6640
  return { pluginStylistic: await interopDefault(import("@stylistic/eslint-plugin")) };
6646
6641
  }
@@ -6821,7 +6816,7 @@ const imports = async (options) => {
6821
6816
  }];
6822
6817
  };
6823
6818
  //#endregion
6824
- //#region node_modules/.pnpm/globals@17.4.0/node_modules/globals/globals.json
6819
+ //#region node_modules/.pnpm/globals@17.6.0/node_modules/globals/globals.json
6825
6820
  var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6826
6821
  module.exports = {
6827
6822
  "amd": {
@@ -6927,6 +6922,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6927
6922
  "AudioNode": false,
6928
6923
  "AudioParam": false,
6929
6924
  "AudioParamMap": false,
6925
+ "AudioPlaybackStats": false,
6930
6926
  "AudioProcessingEvent": false,
6931
6927
  "AudioScheduledSourceNode": false,
6932
6928
  "AudioSinkInfo": false,
@@ -7718,6 +7714,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7718
7714
  "RTCSessionDescription": false,
7719
7715
  "RTCStatsReport": false,
7720
7716
  "RTCTrackEvent": false,
7717
+ "Sanitizer": false,
7721
7718
  "scheduler": false,
7722
7719
  "Scheduler": false,
7723
7720
  "Scheduling": false,
@@ -7919,6 +7916,9 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7919
7916
  "TextTrackList": false,
7920
7917
  "TextUpdateEvent": false,
7921
7918
  "TimeEvent": false,
7919
+ "TimelineTrigger": false,
7920
+ "TimelineTriggerRange": false,
7921
+ "TimelineTriggerRangeList": false,
7922
7922
  "TimeRanges": false,
7923
7923
  "ToggleEvent": false,
7924
7924
  "toolbar": false,
@@ -8029,9 +8029,13 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8029
8029
  "XRAnchorSet": false,
8030
8030
  "XRBoundedReferenceSpace": false,
8031
8031
  "XRCamera": false,
8032
+ "XRCompositionLayer": false,
8032
8033
  "XRCPUDepthInformation": false,
8034
+ "XRCubeLayer": false,
8035
+ "XRCylinderLayer": false,
8033
8036
  "XRDepthInformation": false,
8034
8037
  "XRDOMOverlayState": false,
8038
+ "XREquirectLayer": false,
8035
8039
  "XRFrame": false,
8036
8040
  "XRHand": false,
8037
8041
  "XRHitTestResult": false,
@@ -8043,9 +8047,14 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8043
8047
  "XRJointPose": false,
8044
8048
  "XRJointSpace": false,
8045
8049
  "XRLayer": false,
8050
+ "XRLayerEvent": false,
8046
8051
  "XRLightEstimate": false,
8047
8052
  "XRLightProbe": false,
8053
+ "XRPlane": false,
8054
+ "XRPlaneSet": false,
8048
8055
  "XRPose": false,
8056
+ "XRProjectionLayer": false,
8057
+ "XRQuadLayer": false,
8049
8058
  "XRRay": false,
8050
8059
  "XRReferenceSpace": false,
8051
8060
  "XRReferenceSpaceEvent": false,
@@ -8054,6 +8063,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8054
8063
  "XRSession": false,
8055
8064
  "XRSessionEvent": false,
8056
8065
  "XRSpace": false,
8066
+ "XRSubImage": false,
8057
8067
  "XRSystem": false,
8058
8068
  "XRTransientInputHitTestResult": false,
8059
8069
  "XRTransientInputHitTestSource": false,
@@ -8064,6 +8074,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8064
8074
  "XRWebGLBinding": false,
8065
8075
  "XRWebGLDepthInformation": false,
8066
8076
  "XRWebGLLayer": false,
8077
+ "XRWebGLSubImage": false,
8067
8078
  "XSLTProcessor": false
8068
8079
  },
8069
8080
  "builtin": {
@@ -8364,6 +8375,7 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8364
8375
  "PromiseRejectionEvent": false,
8365
8376
  "prompt": false,
8366
8377
  "queueMicrotask": false,
8378
+ "QuotaExceededError": false,
8367
8379
  "ReadableByteStreamController": false,
8368
8380
  "ReadableStream": false,
8369
8381
  "ReadableStreamBYOBReader": false,
@@ -9154,6 +9166,70 @@ var require_globals$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9154
9166
  "WeakRef": false,
9155
9167
  "WeakSet": false
9156
9168
  },
9169
+ "es2027": {
9170
+ "AggregateError": false,
9171
+ "Array": false,
9172
+ "ArrayBuffer": false,
9173
+ "Atomics": false,
9174
+ "BigInt": false,
9175
+ "BigInt64Array": false,
9176
+ "BigUint64Array": false,
9177
+ "Boolean": false,
9178
+ "DataView": false,
9179
+ "Date": false,
9180
+ "decodeURI": false,
9181
+ "decodeURIComponent": false,
9182
+ "encodeURI": false,
9183
+ "encodeURIComponent": false,
9184
+ "Error": false,
9185
+ "escape": false,
9186
+ "eval": false,
9187
+ "EvalError": false,
9188
+ "FinalizationRegistry": false,
9189
+ "Float16Array": false,
9190
+ "Float32Array": false,
9191
+ "Float64Array": false,
9192
+ "Function": false,
9193
+ "globalThis": false,
9194
+ "Infinity": false,
9195
+ "Int16Array": false,
9196
+ "Int32Array": false,
9197
+ "Int8Array": false,
9198
+ "Intl": false,
9199
+ "isFinite": false,
9200
+ "isNaN": false,
9201
+ "Iterator": false,
9202
+ "JSON": false,
9203
+ "Map": false,
9204
+ "Math": false,
9205
+ "NaN": false,
9206
+ "Number": false,
9207
+ "Object": false,
9208
+ "parseFloat": false,
9209
+ "parseInt": false,
9210
+ "Promise": false,
9211
+ "Proxy": false,
9212
+ "RangeError": false,
9213
+ "ReferenceError": false,
9214
+ "Reflect": false,
9215
+ "RegExp": false,
9216
+ "Set": false,
9217
+ "SharedArrayBuffer": false,
9218
+ "String": false,
9219
+ "Symbol": false,
9220
+ "SyntaxError": false,
9221
+ "TypeError": false,
9222
+ "Uint16Array": false,
9223
+ "Uint32Array": false,
9224
+ "Uint8Array": false,
9225
+ "Uint8ClampedArray": false,
9226
+ "undefined": false,
9227
+ "unescape": false,
9228
+ "URIError": false,
9229
+ "WeakMap": false,
9230
+ "WeakRef": false,
9231
+ "WeakSet": false
9232
+ },
9157
9233
  "es3": {
9158
9234
  "Array": false,
9159
9235
  "Boolean": false,
@@ -11414,10 +11490,9 @@ const n = async () => {
11414
11490
  //#region src/configs/no-only-tests.ts
11415
11491
  const noOnlyTests = async (options = {}) => {
11416
11492
  const { isInEditor = false, overrides = {} } = options;
11417
- const pluginNoOnlyTests = await interopDefault(import("eslint-plugin-no-only-tests"));
11418
11493
  return [{
11419
11494
  name: "jsse/no-only-tests/setup",
11420
- plugins: { "no-only-tests": pluginNoOnlyTests }
11495
+ plugins: { "no-only-tests": await interopDefault(import("eslint-plugin-no-only-tests")) }
11421
11496
  }, {
11422
11497
  files: GLOB_TESTS,
11423
11498
  name: "jsse/no-only-tests/rules",
@@ -11779,7 +11854,7 @@ function reactRules() {
11779
11854
  */
11780
11855
  function reactRecomendedRules() {
11781
11856
  return {
11782
- "react/display-name": 2,
11857
+ "react/display-name": 0,
11783
11858
  "react/jsx-key": 2,
11784
11859
  "react/jsx-no-comment-textnodes": 2,
11785
11860
  "react/jsx-no-duplicate-props": 2,
@@ -11790,7 +11865,7 @@ function reactRecomendedRules() {
11790
11865
  "react/no-children-prop": 2,
11791
11866
  "react/no-danger-with-children": 2,
11792
11867
  "react/no-deprecated": 2,
11793
- "react/no-direct-mutation-state": 2,
11868
+ "react/no-direct-mutation-state": 0,
11794
11869
  "react/no-find-dom-node": 2,
11795
11870
  "react/no-is-mounted": 2,
11796
11871
  "react/no-render-return-value": 2,
@@ -12272,17 +12347,6 @@ const typescript = async (options) => {
12272
12347
  return tsEslintConfigs;
12273
12348
  };
12274
12349
  //#endregion
12275
- //#region src/configs/tsdoc.ts
12276
- const tsdoc = async () => {
12277
- const { pluginTsdoc } = await importPluginTsdoc();
12278
- return [{
12279
- files: ["*.ts", "*.tsx"],
12280
- name: "jsse/tsdoc",
12281
- plugins: { tsdoc: pluginTsdoc },
12282
- rules: { "tsdoc/syntax": "warn" }
12283
- }];
12284
- };
12285
- //#endregion
12286
12350
  //#region src/configs/unicorn.ts
12287
12351
  function unicornOff() {
12288
12352
  return {
@@ -12558,7 +12622,7 @@ async function jsse(options = {}, ...userConfigs) {
12558
12622
  react: enableReact,
12559
12623
  typeAware: effectiveTypeAware
12560
12624
  });
12561
- configs.push(tscfg, tsdoc());
12625
+ configs.push(tscfg);
12562
12626
  }
12563
12627
  if (enableMarkdown) configs.push(markdown());
12564
12628
  if (enableYaml) {
@@ -12631,4 +12695,4 @@ const jsseReact = (options, ...configs) => {
12631
12695
  }, ...configs);
12632
12696
  };
12633
12697
  //#endregion
12634
- export { SLOW_RULES, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_exports as globs, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
12698
+ export { SLOW_RULES, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, jsse, defineConfig, error2warn, globs_exports as globs, importPluginMarkdown, importPluginReact, importPluginReactRefresh, importPluginStylistic, interopDefault, isCI, isInEditor, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jsse/eslint-config",
3
3
  "type": "module",
4
- "version": "0.7.1",
4
+ "version": "0.7.3",
5
5
  "description": "@jsse/eslint-config ~ WYSIWYG",
6
6
  "author": "jessekrubin <jessekrubin@gmail.com> (https://github.com/jessekrubin/)",
7
7
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  "dist"
37
37
  ],
38
38
  "peerDependencies": {
39
- "@eslint-react/eslint-plugin": "^2.0.4",
39
+ "@eslint-react/eslint-plugin": "^4.2.3",
40
40
  "eslint": "^9.39.1",
41
41
  "eslint-plugin-react": "^7.37.5",
42
42
  "eslint-plugin-react-hooks": "^7.0.0",
@@ -61,14 +61,14 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
64
- "@eslint/compat": "^2.0.3",
64
+ "@eslint/compat": "^2.0.5",
65
65
  "@eslint/js": "^9.39.4",
66
66
  "@eslint/markdown": "^8.0.1",
67
67
  "@stylistic/eslint-plugin": "5.10.0",
68
- "@typescript-eslint/eslint-plugin": "^8.58.0",
69
- "@typescript-eslint/parser": "^8.58.0",
70
- "@typescript-eslint/rule-tester": "^8.58.0",
71
- "@vitest/eslint-plugin": "^1.6.14",
68
+ "@typescript-eslint/eslint-plugin": "^8.59.1",
69
+ "@typescript-eslint/parser": "^8.59.1",
70
+ "@typescript-eslint/rule-tester": "^8.59.1",
71
+ "@vitest/eslint-plugin": "^1.6.16",
72
72
  "debug": "^4.4.3",
73
73
  "eslint-config-flat-gitignore": "^2.3.0",
74
74
  "eslint-merge-processors": "^2.0.0",
@@ -79,51 +79,50 @@
79
79
  "eslint-plugin-jsdoc": "^62.9.0",
80
80
  "eslint-plugin-jsonc": "^3.1.2",
81
81
  "eslint-plugin-n": "^17.24.0",
82
- "eslint-plugin-no-only-tests": "^3.3.0",
83
- "eslint-plugin-perfectionist": "^5.8.0",
82
+ "eslint-plugin-no-only-tests": "^3.4.0",
83
+ "eslint-plugin-perfectionist": "^5.9.0",
84
84
  "eslint-plugin-pnpm": "^1.6.0",
85
85
  "eslint-plugin-react": "^7.37.5",
86
- "eslint-plugin-react-hooks": "^7.0.1",
86
+ "eslint-plugin-react-hooks": "^7.1.1",
87
87
  "eslint-plugin-react-refresh": "^0.5.2",
88
88
  "eslint-plugin-toml": "^1.3.1",
89
- "eslint-plugin-tsdoc": "^0.5.2",
90
89
  "eslint-plugin-unicorn": "^64.0.0",
91
90
  "eslint-plugin-unused-imports": "^4.4.1",
92
- "eslint-plugin-yml": "^3.3.1",
91
+ "eslint-plugin-yml": "^3.3.2",
93
92
  "jsonc-eslint-parser": "^3.1.0",
94
93
  "toml-eslint-parser": "^1.0.3",
95
- "typescript-eslint": "^8.58.0",
94
+ "typescript-eslint": "^8.59.1",
96
95
  "yaml-eslint-parser": "^2.0.0"
97
96
  },
98
97
  "devDependencies": {
99
- "@changesets/cli": "^2.30.0",
100
- "@emnapi/core": "^1.9.2",
101
- "@emnapi/runtime": "^1.9.2",
98
+ "@changesets/cli": "^2.31.0",
99
+ "@emnapi/core": "^1.10.0",
100
+ "@emnapi/runtime": "^1.10.0",
102
101
  "@jsse/prettier-config": "^1.0.2",
103
- "@jsse/tsconfig": "^0.4.1",
102
+ "@jsse/tsconfig": "^0.5.0",
104
103
  "@types/debug": "^4.1.13",
105
104
  "@types/fs-extra": "^11.0.4",
106
105
  "@types/node": "^25.5.0",
107
106
  "cac": "^7.0.0",
108
107
  "eslint": "^9.39.4",
109
- "eslint-flat-config-utils": "^3.1.0",
108
+ "eslint-flat-config-utils": "^3.2.0",
110
109
  "eslint-typegen": "^2.3.1",
111
110
  "execa": "~9.6.1",
112
111
  "fast-equals": "^6.0.0",
113
112
  "fast-glob": "^3.3.3",
114
113
  "fs-extra": "^11.3.4",
115
- "globals": "^17.4.0",
114
+ "globals": "^17.6.0",
116
115
  "local-pkg": "^1.1.2",
117
- "oxfmt": "^0.43.0",
118
- "oxlint": "^1.58.0",
116
+ "oxfmt": "^0.47.0",
117
+ "oxlint": "^1.62.0",
119
118
  "picocolors": "^1.1.1",
120
- "prettier": "^3.8.1",
121
- "react": "~19.2.4",
119
+ "prettier": "^3.8.3",
120
+ "react": "~19.2.5",
122
121
  "rimraf": "^6.1.3",
123
- "tsdown": "^0.21.7",
122
+ "tsdown": "^0.21.10",
124
123
  "tsx": "^4.21.0",
125
- "typescript": "~5.9.3",
126
- "vitest": "^4.1.2"
124
+ "typescript": "~6.0.3",
125
+ "vitest": "^4.1.5"
127
126
  },
128
127
  "prettier": "@jsse/prettier-config",
129
128
  "scripts": {