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