@jsse/eslint-config 0.2.27 → 0.2.28

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/dist/index.d.cts CHANGED
@@ -12511,6 +12511,8 @@ type StylisticCommaDangle =
12511
12511
  imports?: _StylisticCommaDangleValueWithIgnore;
12512
12512
  exports?: _StylisticCommaDangleValueWithIgnore;
12513
12513
  functions?: _StylisticCommaDangleValueWithIgnore;
12514
+ importAttributes?: _StylisticCommaDangleValueWithIgnore;
12515
+ dynamicImports?: _StylisticCommaDangleValueWithIgnore;
12514
12516
  enums?: _StylisticCommaDangleValueWithIgnore;
12515
12517
  generics?: _StylisticCommaDangleValueWithIgnore;
12516
12518
  tuples?: _StylisticCommaDangleValueWithIgnore;
@@ -12744,6 +12746,10 @@ type StylisticFuncCallSpacing =
12744
12746
  "always",
12745
12747
  {
12746
12748
  allowNewlines?: boolean;
12749
+ optionalChain?: {
12750
+ before?: boolean;
12751
+ after?: boolean;
12752
+ };
12747
12753
  },
12748
12754
  ];
12749
12755
  // ----- @stylistic/function-call-argument-newline -----
@@ -12760,6 +12766,10 @@ type StylisticFunctionCallSpacing =
12760
12766
  "always",
12761
12767
  {
12762
12768
  allowNewlines?: boolean;
12769
+ optionalChain?: {
12770
+ before?: boolean;
12771
+ after?: boolean;
12772
+ };
12763
12773
  },
12764
12774
  ];
12765
12775
  // ----- @stylistic/function-paren-newline -----
@@ -19967,702 +19977,702 @@ type ImportPreferDefaultExport =
19967
19977
  interface UnicornRuleOptions {
19968
19978
  /**
19969
19979
  * Improve regexes by making them shorter, consistent, and safer.
19970
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/better-regex.md
19980
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
19971
19981
  */
19972
19982
  "unicorn/better-regex"?: Linter.RuleEntry<UnicornBetterRegex>;
19973
19983
  /**
19974
19984
  * Enforce a specific parameter name in catch clauses.
19975
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/catch-error-name.md
19985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
19976
19986
  */
19977
19987
  "unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
19978
19988
  /**
19979
19989
  * Use destructured variables over properties.
19980
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-destructuring.md
19990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
19981
19991
  */
19982
19992
  "unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
19983
19993
  /**
19984
19994
  * Prefer consistent types when spreading a ternary in an array literal.
19985
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-empty-array-spread.md
19995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
19986
19996
  */
19987
19997
  "unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
19988
19998
  /**
19989
19999
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
19990
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-existence-index-check.md
20000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
19991
20001
  */
19992
20002
  "unicorn/consistent-existence-index-check"?: Linter.RuleEntry<[]>;
19993
20003
  /**
19994
20004
  * Move function definitions to the highest possible scope.
19995
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-function-scoping.md
20005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
19996
20006
  */
19997
20007
  "unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
19998
20008
  /**
19999
20009
  * Enforce correct `Error` subclassing.
20000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/custom-error-definition.md
20010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
20001
20011
  */
20002
20012
  "unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
20003
20013
  /**
20004
20014
  * Enforce no spaces between braces.
20005
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/empty-brace-spaces.md
20015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
20006
20016
  */
20007
20017
  "unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
20008
20018
  /**
20009
20019
  * Enforce passing a `message` value when creating a built-in error.
20010
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/error-message.md
20020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
20011
20021
  */
20012
20022
  "unicorn/error-message"?: Linter.RuleEntry<[]>;
20013
20023
  /**
20014
20024
  * Require escape sequences to use uppercase values.
20015
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/escape-case.md
20025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
20016
20026
  */
20017
20027
  "unicorn/escape-case"?: Linter.RuleEntry<[]>;
20018
20028
  /**
20019
20029
  * Add expiration conditions to TODO comments.
20020
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/expiring-todo-comments.md
20030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
20021
20031
  */
20022
20032
  "unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
20023
20033
  /**
20024
20034
  * Enforce explicitly comparing the `length` or `size` property of a value.
20025
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/explicit-length-check.md
20035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
20026
20036
  */
20027
20037
  "unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
20028
20038
  /**
20029
20039
  * Enforce a case style for filenames.
20030
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/filename-case.md
20040
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
20031
20041
  */
20032
20042
  "unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
20033
20043
  /**
20034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#import-index
20044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
20035
20045
  * @deprecated
20036
20046
  */
20037
20047
  "unicorn/import-index"?: Linter.RuleEntry<[]>;
20038
20048
  /**
20039
20049
  * Enforce specific import styles per module.
20040
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/import-style.md
20050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
20041
20051
  */
20042
20052
  "unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
20043
20053
  /**
20044
20054
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
20045
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/new-for-builtins.md
20055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
20046
20056
  */
20047
20057
  "unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
20048
20058
  /**
20049
20059
  * Enforce specifying rules to disable in `eslint-disable` comments.
20050
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-abusive-eslint-disable.md
20060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
20051
20061
  */
20052
20062
  "unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
20053
20063
  /**
20054
20064
  * Disallow anonymous functions and classes as the default export.
20055
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-anonymous-default-export.md
20065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
20056
20066
  */
20057
20067
  "unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
20058
20068
  /**
20059
20069
  * Prevent passing a function reference directly to iterator methods.
20060
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-callback-reference.md
20070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
20061
20071
  */
20062
20072
  "unicorn/no-array-callback-reference"?: Linter.RuleEntry<[]>;
20063
20073
  /**
20064
20074
  * Prefer `for…of` over the `forEach` method.
20065
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-for-each.md
20075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
20066
20076
  */
20067
20077
  "unicorn/no-array-for-each"?: Linter.RuleEntry<[]>;
20068
20078
  /**
20069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-array-instanceof
20079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
20070
20080
  * @deprecated
20071
20081
  */
20072
20082
  "unicorn/no-array-instanceof"?: Linter.RuleEntry<[]>;
20073
20083
  /**
20074
20084
  * Disallow using the `this` argument in array methods.
20075
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-method-this-argument.md
20085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
20076
20086
  */
20077
20087
  "unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
20078
20088
  /**
20079
20089
  * Enforce combining multiple `Array#push()` into one call.
20080
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-push-push.md
20090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
20081
20091
  */
20082
20092
  "unicorn/no-array-push-push"?: Linter.RuleEntry<UnicornNoArrayPushPush>;
20083
20093
  /**
20084
20094
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
20085
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-reduce.md
20095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
20086
20096
  */
20087
20097
  "unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
20088
20098
  /**
20089
20099
  * Disallow member access from await expression.
20090
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-expression-member.md
20100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
20091
20101
  */
20092
20102
  "unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
20093
20103
  /**
20094
20104
  * Disallow using `await` in `Promise` method parameters.
20095
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-in-promise-methods.md
20105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
20096
20106
  */
20097
20107
  "unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
20098
20108
  /**
20099
20109
  * Do not use leading/trailing space between `console.log` parameters.
20100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-console-spaces.md
20110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
20101
20111
  */
20102
20112
  "unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
20103
20113
  /**
20104
20114
  * Do not use `document.cookie` directly.
20105
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-document-cookie.md
20115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
20106
20116
  */
20107
20117
  "unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
20108
20118
  /**
20109
20119
  * Disallow empty files.
20110
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-empty-file.md
20120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
20111
20121
  */
20112
20122
  "unicorn/no-empty-file"?: Linter.RuleEntry<[]>;
20113
20123
  /**
20114
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
20124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
20115
20125
  * @deprecated
20116
20126
  */
20117
20127
  "unicorn/no-fn-reference-in-iterator"?: Linter.RuleEntry<[]>;
20118
20128
  /**
20119
20129
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
20120
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-for-loop.md
20130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
20121
20131
  */
20122
20132
  "unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
20123
20133
  /**
20124
20134
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
20125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-hex-escape.md
20135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
20126
20136
  */
20127
20137
  "unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
20128
20138
  /**
20129
20139
  * Require `Array.isArray()` instead of `instanceof Array`.
20130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-instanceof-array.md
20140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
20131
20141
  */
20132
20142
  "unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
20133
20143
  /**
20134
20144
  * Disallow invalid options in `fetch()` and `new Request()`.
20135
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-fetch-options.md
20145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
20136
20146
  */
20137
20147
  "unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
20138
20148
  /**
20139
20149
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
20140
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-remove-event-listener.md
20150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
20141
20151
  */
20142
20152
  "unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
20143
20153
  /**
20144
20154
  * Disallow identifiers starting with `new` or `class`.
20145
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-keyword-prefix.md
20155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
20146
20156
  */
20147
20157
  "unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
20148
20158
  /**
20149
20159
  * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
20150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-length-as-slice-end.md
20160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
20151
20161
  */
20152
20162
  "unicorn/no-length-as-slice-end"?: Linter.RuleEntry<[]>;
20153
20163
  /**
20154
20164
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
20155
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-lonely-if.md
20165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
20156
20166
  */
20157
20167
  "unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
20158
20168
  /**
20159
20169
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
20160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-magic-array-flat-depth.md
20170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
20161
20171
  */
20162
20172
  "unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
20163
20173
  /**
20164
20174
  * Disallow negated conditions.
20165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negated-condition.md
20175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
20166
20176
  */
20167
20177
  "unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
20168
20178
  /**
20169
20179
  * Disallow negated expression in equality check.
20170
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negation-in-equality-check.md
20180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
20171
20181
  */
20172
20182
  "unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
20173
20183
  /**
20174
20184
  * Disallow nested ternary expressions.
20175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-nested-ternary.md
20185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
20176
20186
  */
20177
20187
  "unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
20178
20188
  /**
20179
20189
  * Disallow `new Array()`.
20180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-array.md
20190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
20181
20191
  */
20182
20192
  "unicorn/no-new-array"?: Linter.RuleEntry<[]>;
20183
20193
  /**
20184
20194
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
20185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-buffer.md
20195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
20186
20196
  */
20187
20197
  "unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
20188
20198
  /**
20189
20199
  * Disallow the use of the `null` literal.
20190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-null.md
20200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
20191
20201
  */
20192
20202
  "unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
20193
20203
  /**
20194
20204
  * Disallow the use of objects as default parameters.
20195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-object-as-default-parameter.md
20205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
20196
20206
  */
20197
20207
  "unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
20198
20208
  /**
20199
20209
  * Disallow `process.exit()`.
20200
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-process-exit.md
20210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
20201
20211
  */
20202
20212
  "unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
20203
20213
  /**
20204
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-reduce
20214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
20205
20215
  * @deprecated
20206
20216
  */
20207
20217
  "unicorn/no-reduce"?: Linter.RuleEntry<[]>;
20208
20218
  /**
20209
20219
  * Disallow passing single-element arrays to `Promise` methods.
20210
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-single-promise-in-promise-methods.md
20220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
20211
20221
  */
20212
20222
  "unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
20213
20223
  /**
20214
20224
  * Disallow classes that only have static members.
20215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-static-only-class.md
20225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
20216
20226
  */
20217
20227
  "unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
20218
20228
  /**
20219
20229
  * Disallow `then` property.
20220
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-thenable.md
20230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
20221
20231
  */
20222
20232
  "unicorn/no-thenable"?: Linter.RuleEntry<[]>;
20223
20233
  /**
20224
20234
  * Disallow assigning `this` to a variable.
20225
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-this-assignment.md
20235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
20226
20236
  */
20227
20237
  "unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
20228
20238
  /**
20229
20239
  * Disallow comparing `undefined` using `typeof`.
20230
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-typeof-undefined.md
20240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
20231
20241
  */
20232
20242
  "unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
20233
20243
  /**
20234
20244
  * Disallow awaiting non-promise values.
20235
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-await.md
20245
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
20236
20246
  */
20237
20247
  "unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
20238
20248
  /**
20239
20249
  * Enforce the use of built-in methods instead of unnecessary polyfills.
20240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-polyfills.md
20250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
20241
20251
  */
20242
20252
  "unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
20243
20253
  /**
20244
20254
  * Disallow unreadable array destructuring.
20245
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-array-destructuring.md
20255
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
20246
20256
  */
20247
20257
  "unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<[]>;
20248
20258
  /**
20249
20259
  * Disallow unreadable IIFEs.
20250
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-iife.md
20260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
20251
20261
  */
20252
20262
  "unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
20253
20263
  /**
20254
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-unsafe-regex
20264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
20255
20265
  * @deprecated
20256
20266
  */
20257
20267
  "unicorn/no-unsafe-regex"?: Linter.RuleEntry<[]>;
20258
20268
  /**
20259
20269
  * Disallow unused object properties.
20260
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unused-properties.md
20270
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
20261
20271
  */
20262
20272
  "unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
20263
20273
  /**
20264
20274
  * Disallow useless fallback when spreading in object literals.
20265
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-fallback-in-spread.md
20275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
20266
20276
  */
20267
20277
  "unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
20268
20278
  /**
20269
20279
  * Disallow useless array length check.
20270
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-length-check.md
20280
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
20271
20281
  */
20272
20282
  "unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
20273
20283
  /**
20274
20284
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
20275
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-promise-resolve-reject.md
20285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
20276
20286
  */
20277
20287
  "unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
20278
20288
  /**
20279
20289
  * Disallow unnecessary spread.
20280
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-spread.md
20290
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
20281
20291
  */
20282
20292
  "unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
20283
20293
  /**
20284
20294
  * Disallow useless case in switch statements.
20285
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-switch-case.md
20295
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
20286
20296
  */
20287
20297
  "unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
20288
20298
  /**
20289
20299
  * Disallow useless `undefined`.
20290
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-undefined.md
20300
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
20291
20301
  */
20292
20302
  "unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
20293
20303
  /**
20294
20304
  * Disallow number literals with zero fractions or dangling dots.
20295
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-zero-fractions.md
20305
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
20296
20306
  */
20297
20307
  "unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
20298
20308
  /**
20299
20309
  * Enforce proper case for numeric literals.
20300
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/number-literal-case.md
20310
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
20301
20311
  */
20302
20312
  "unicorn/number-literal-case"?: Linter.RuleEntry<[]>;
20303
20313
  /**
20304
20314
  * Enforce the style of numeric separators by correctly grouping digits.
20305
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/numeric-separators-style.md
20315
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
20306
20316
  */
20307
20317
  "unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
20308
20318
  /**
20309
20319
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
20310
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-add-event-listener.md
20320
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
20311
20321
  */
20312
20322
  "unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
20313
20323
  /**
20314
20324
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
20315
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-find.md
20325
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
20316
20326
  */
20317
20327
  "unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
20318
20328
  /**
20319
20329
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
20320
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat.md
20330
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
20321
20331
  */
20322
20332
  "unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
20323
20333
  /**
20324
20334
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
20325
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat-map.md
20335
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
20326
20336
  */
20327
20337
  "unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
20328
20338
  /**
20329
20339
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
20330
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-index-of.md
20340
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
20331
20341
  */
20332
20342
  "unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
20333
20343
  /**
20334
20344
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
20335
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-some.md
20345
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
20336
20346
  */
20337
20347
  "unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
20338
20348
  /**
20339
20349
  * Prefer `.at()` method for index access and `String#charAt()`.
20340
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-at.md
20350
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
20341
20351
  */
20342
20352
  "unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
20343
20353
  /**
20344
20354
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
20345
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-blob-reading-methods.md
20355
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
20346
20356
  */
20347
20357
  "unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
20348
20358
  /**
20349
20359
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
20350
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-code-point.md
20360
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
20351
20361
  */
20352
20362
  "unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
20353
20363
  /**
20354
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-dataset
20364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
20355
20365
  * @deprecated
20356
20366
  */
20357
20367
  "unicorn/prefer-dataset"?: Linter.RuleEntry<[]>;
20358
20368
  /**
20359
20369
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
20360
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-date-now.md
20370
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
20361
20371
  */
20362
20372
  "unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
20363
20373
  /**
20364
20374
  * Prefer default parameters over reassignment.
20365
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-default-parameters.md
20375
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
20366
20376
  */
20367
20377
  "unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
20368
20378
  /**
20369
20379
  * Prefer `Node#append()` over `Node#appendChild()`.
20370
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-append.md
20380
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
20371
20381
  */
20372
20382
  "unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
20373
20383
  /**
20374
20384
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
20375
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-dataset.md
20385
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
20376
20386
  */
20377
20387
  "unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
20378
20388
  /**
20379
20389
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
20380
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-remove.md
20390
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
20381
20391
  */
20382
20392
  "unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
20383
20393
  /**
20384
20394
  * Prefer `.textContent` over `.innerText`.
20385
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-text-content.md
20395
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
20386
20396
  */
20387
20397
  "unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
20388
20398
  /**
20389
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-event-key
20399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
20390
20400
  * @deprecated
20391
20401
  */
20392
20402
  "unicorn/prefer-event-key"?: Linter.RuleEntry<[]>;
20393
20403
  /**
20394
20404
  * Prefer `EventTarget` over `EventEmitter`.
20395
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-event-target.md
20405
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
20396
20406
  */
20397
20407
  "unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
20398
20408
  /**
20399
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
20409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
20400
20410
  * @deprecated
20401
20411
  */
20402
20412
  "unicorn/prefer-exponentiation-operator"?: Linter.RuleEntry<[]>;
20403
20413
  /**
20404
20414
  * Prefer `export…from` when re-exporting.
20405
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-export-from.md
20415
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
20406
20416
  */
20407
20417
  "unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
20408
20418
  /**
20409
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-flat-map
20419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
20410
20420
  * @deprecated
20411
20421
  */
20412
20422
  "unicorn/prefer-flat-map"?: Linter.RuleEntry<[]>;
20413
20423
  /**
20414
20424
  * Prefer `globalThis` over `window`, `self`, and `global`.
20415
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-global-this.md
20425
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
20416
20426
  */
20417
20427
  "unicorn/prefer-global-this"?: Linter.RuleEntry<[]>;
20418
20428
  /**
20419
20429
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
20420
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-includes.md
20430
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
20421
20431
  */
20422
20432
  "unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
20423
20433
  /**
20424
20434
  * Prefer reading a JSON file as a buffer.
20425
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-json-parse-buffer.md
20435
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
20426
20436
  */
20427
20437
  "unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
20428
20438
  /**
20429
20439
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
20430
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-keyboard-event-key.md
20440
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
20431
20441
  */
20432
20442
  "unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
20433
20443
  /**
20434
20444
  * Prefer using a logical operator over a ternary.
20435
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-logical-operator-over-ternary.md
20445
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
20436
20446
  */
20437
20447
  "unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
20438
20448
  /**
20439
20449
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
20440
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-min-max.md
20450
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
20441
20451
  */
20442
20452
  "unicorn/prefer-math-min-max"?: Linter.RuleEntry<[]>;
20443
20453
  /**
20444
20454
  * Enforce the use of `Math.trunc` instead of bitwise operators.
20445
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-trunc.md
20455
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
20446
20456
  */
20447
20457
  "unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
20448
20458
  /**
20449
20459
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
20450
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-dom-apis.md
20460
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
20451
20461
  */
20452
20462
  "unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
20453
20463
  /**
20454
20464
  * Prefer modern `Math` APIs over legacy patterns.
20455
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-math-apis.md
20465
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
20456
20466
  */
20457
20467
  "unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
20458
20468
  /**
20459
20469
  * Prefer JavaScript modules (ESM) over CommonJS.
20460
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-module.md
20470
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
20461
20471
  */
20462
20472
  "unicorn/prefer-module"?: Linter.RuleEntry<[]>;
20463
20473
  /**
20464
20474
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
20465
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-native-coercion-functions.md
20475
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
20466
20476
  */
20467
20477
  "unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
20468
20478
  /**
20469
20479
  * Prefer negative index over `.length - index` when possible.
20470
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-negative-index.md
20480
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
20471
20481
  */
20472
20482
  "unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
20473
20483
  /**
20474
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-append
20484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
20475
20485
  * @deprecated
20476
20486
  */
20477
20487
  "unicorn/prefer-node-append"?: Linter.RuleEntry<[]>;
20478
20488
  /**
20479
20489
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
20480
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-node-protocol.md
20490
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
20481
20491
  */
20482
20492
  "unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
20483
20493
  /**
20484
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-remove
20494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
20485
20495
  * @deprecated
20486
20496
  */
20487
20497
  "unicorn/prefer-node-remove"?: Linter.RuleEntry<[]>;
20488
20498
  /**
20489
20499
  * Prefer `Number` static properties over global ones.
20490
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-number-properties.md
20500
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
20491
20501
  */
20492
20502
  "unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
20493
20503
  /**
20494
20504
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
20495
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-object-from-entries.md
20505
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
20496
20506
  */
20497
20507
  "unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
20498
20508
  /**
20499
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-object-has-own
20509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
20500
20510
  * @deprecated
20501
20511
  */
20502
20512
  "unicorn/prefer-object-has-own"?: Linter.RuleEntry<[]>;
20503
20513
  /**
20504
20514
  * Prefer omitting the `catch` binding parameter.
20505
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-optional-catch-binding.md
20515
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
20506
20516
  */
20507
20517
  "unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
20508
20518
  /**
20509
20519
  * Prefer borrowing methods from the prototype instead of the instance.
20510
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-prototype-methods.md
20520
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
20511
20521
  */
20512
20522
  "unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
20513
20523
  /**
20514
20524
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
20515
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-query-selector.md
20525
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
20516
20526
  */
20517
20527
  "unicorn/prefer-query-selector"?: Linter.RuleEntry<[]>;
20518
20528
  /**
20519
20529
  * Prefer `Reflect.apply()` over `Function#apply()`.
20520
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-reflect-apply.md
20530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
20521
20531
  */
20522
20532
  "unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
20523
20533
  /**
20524
20534
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
20525
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-regexp-test.md
20535
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
20526
20536
  */
20527
20537
  "unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
20528
20538
  /**
20529
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-replace-all
20539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
20530
20540
  * @deprecated
20531
20541
  */
20532
20542
  "unicorn/prefer-replace-all"?: Linter.RuleEntry<[]>;
20533
20543
  /**
20534
20544
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
20535
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-has.md
20545
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
20536
20546
  */
20537
20547
  "unicorn/prefer-set-has"?: Linter.RuleEntry<[]>;
20538
20548
  /**
20539
20549
  * Prefer using `Set#size` instead of `Array#length`.
20540
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-size.md
20550
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
20541
20551
  */
20542
20552
  "unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
20543
20553
  /**
20544
20554
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
20545
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-spread.md
20555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
20546
20556
  */
20547
20557
  "unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
20548
20558
  /**
20549
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
20559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
20550
20560
  * @deprecated
20551
20561
  */
20552
20562
  "unicorn/prefer-starts-ends-with"?: Linter.RuleEntry<[]>;
20553
20563
  /**
20554
20564
  * Prefer using the `String.raw` tag to avoid escaping `\`.
20555
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-raw.md
20565
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
20556
20566
  */
20557
20567
  "unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
20558
20568
  /**
20559
20569
  * Prefer `String#replaceAll()` over regex searches with the global flag.
20560
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-replace-all.md
20570
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
20561
20571
  */
20562
20572
  "unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
20563
20573
  /**
20564
20574
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
20565
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-slice.md
20575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
20566
20576
  */
20567
20577
  "unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
20568
20578
  /**
20569
20579
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
20570
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-starts-ends-with.md
20580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
20571
20581
  */
20572
20582
  "unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
20573
20583
  /**
20574
20584
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
20575
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-trim-start-end.md
20585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
20576
20586
  */
20577
20587
  "unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
20578
20588
  /**
20579
20589
  * Prefer using `structuredClone` to create a deep clone.
20580
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-structured-clone.md
20590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
20581
20591
  */
20582
20592
  "unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
20583
20593
  /**
20584
20594
  * Prefer `switch` over multiple `else-if`.
20585
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-switch.md
20595
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
20586
20596
  */
20587
20597
  "unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
20588
20598
  /**
20589
20599
  * Prefer ternary expressions over simple `if-else` statements.
20590
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-ternary.md
20600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
20591
20601
  */
20592
20602
  "unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
20593
20603
  /**
20594
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-text-content
20604
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
20595
20605
  * @deprecated
20596
20606
  */
20597
20607
  "unicorn/prefer-text-content"?: Linter.RuleEntry<[]>;
20598
20608
  /**
20599
20609
  * Prefer top-level await over top-level promises and async function calls.
20600
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-top-level-await.md
20610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
20601
20611
  */
20602
20612
  "unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
20603
20613
  /**
20604
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-trim-start-end
20614
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
20605
20615
  * @deprecated
20606
20616
  */
20607
20617
  "unicorn/prefer-trim-start-end"?: Linter.RuleEntry<[]>;
20608
20618
  /**
20609
20619
  * Enforce throwing `TypeError` in type checking conditions.
20610
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-type-error.md
20620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
20611
20621
  */
20612
20622
  "unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
20613
20623
  /**
20614
20624
  * Prevent abbreviations.
20615
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prevent-abbreviations.md
20625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
20616
20626
  */
20617
20627
  "unicorn/prevent-abbreviations"?: Linter.RuleEntry<UnicornPreventAbbreviations>;
20618
20628
  /**
20619
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#regex-shorthand
20629
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
20620
20630
  * @deprecated
20621
20631
  */
20622
20632
  "unicorn/regex-shorthand"?: Linter.RuleEntry<[]>;
20623
20633
  /**
20624
20634
  * Enforce consistent relative URL style.
20625
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/relative-url-style.md
20635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
20626
20636
  */
20627
20637
  "unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
20628
20638
  /**
20629
20639
  * Enforce using the separator argument with `Array#join()`.
20630
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-array-join-separator.md
20640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
20631
20641
  */
20632
20642
  "unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
20633
20643
  /**
20634
20644
  * Enforce using the digits argument with `Number#toFixed()`.
20635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-number-to-fixed-digits-argument.md
20645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
20636
20646
  */
20637
20647
  "unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
20638
20648
  /**
20639
20649
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
20640
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-post-message-target-origin.md
20650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
20641
20651
  */
20642
20652
  "unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
20643
20653
  /**
20644
20654
  * Enforce better string content.
20645
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/string-content.md
20655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
20646
20656
  */
20647
20657
  "unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
20648
20658
  /**
20649
20659
  * Enforce consistent brace style for `case` clauses.
20650
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/switch-case-braces.md
20660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
20651
20661
  */
20652
20662
  "unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
20653
20663
  /**
20654
20664
  * Fix whitespace-insensitive template indentation.
20655
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/template-indent.md
20665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
20656
20666
  */
20657
20667
  "unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
20658
20668
  /**
20659
20669
  * Enforce consistent case for text encoding identifiers.
20660
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/text-encoding-identifier-case.md
20670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
20661
20671
  */
20662
20672
  "unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<[]>;
20663
20673
  /**
20664
20674
  * Require `new` when creating an error.
20665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/throw-new-error.md
20675
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
20666
20676
  */
20667
20677
  "unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
20668
20678
  }
@@ -21765,7 +21775,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
21765
21775
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
21766
21776
  type DefineConfig = typeof defineConfig;
21767
21777
 
21768
- declare const VERSION = "0.2.27";
21778
+ declare const VERSION = "0.2.28";
21769
21779
 
21770
21780
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
21771
21781
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";