@storm-software/eslint 0.170.168 → 0.170.170
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.cjs +103 -103
- package/dist/index.d.cts +8 -2
- package/dist/index.d.mts +8 -2
- package/dist/index.mjs +104 -104
- package/package.json +29 -29
package/dist/index.d.cts
CHANGED
|
@@ -3566,7 +3566,7 @@ Backward pagination arguments
|
|
|
3566
3566
|
* Disallow unmodified loop conditions
|
|
3567
3567
|
* @see https://eslint.org/docs/latest/rules/no-unmodified-loop-condition
|
|
3568
3568
|
*/
|
|
3569
|
-
'no-unmodified-loop-condition'?: Linter.RuleEntry<
|
|
3569
|
+
'no-unmodified-loop-condition'?: Linter.RuleEntry<NoUnmodifiedLoopCondition>;
|
|
3570
3570
|
/**
|
|
3571
3571
|
* Disallow ternary operators when simpler alternatives exist
|
|
3572
3572
|
* @see https://eslint.org/docs/latest/rules/no-unneeded-ternary
|
|
@@ -11220,6 +11220,10 @@ type NoUnderscoreDangle = [] | [{
|
|
|
11220
11220
|
allowInArrayDestructuring?: boolean;
|
|
11221
11221
|
allowInObjectDestructuring?: boolean;
|
|
11222
11222
|
}];
|
|
11223
|
+
// ----- no-unmodified-loop-condition -----
|
|
11224
|
+
type NoUnmodifiedLoopCondition = [] | [{
|
|
11225
|
+
checkConditionalExpressions?: boolean;
|
|
11226
|
+
}];
|
|
11223
11227
|
// ----- no-unneeded-ternary -----
|
|
11224
11228
|
type NoUnneededTernary = [] | [{
|
|
11225
11229
|
defaultAssignment?: boolean;
|
|
@@ -15878,7 +15882,9 @@ type TsNoMeaninglessVoidOperator = [] | [{
|
|
|
15878
15882
|
}];
|
|
15879
15883
|
// ----- ts/no-misused-promises -----
|
|
15880
15884
|
type TsNoMisusedPromises = [] | [{
|
|
15881
|
-
checksConditionals?: boolean
|
|
15885
|
+
checksConditionals?: (boolean | {
|
|
15886
|
+
flagUnions?: ("all" | "strict" | "none");
|
|
15887
|
+
});
|
|
15882
15888
|
checksSpreads?: boolean;
|
|
15883
15889
|
checksVoidReturn?: (boolean | {
|
|
15884
15890
|
arguments?: boolean;
|
package/dist/index.d.mts
CHANGED
|
@@ -3566,7 +3566,7 @@ Backward pagination arguments
|
|
|
3566
3566
|
* Disallow unmodified loop conditions
|
|
3567
3567
|
* @see https://eslint.org/docs/latest/rules/no-unmodified-loop-condition
|
|
3568
3568
|
*/
|
|
3569
|
-
'no-unmodified-loop-condition'?: Linter.RuleEntry<
|
|
3569
|
+
'no-unmodified-loop-condition'?: Linter.RuleEntry<NoUnmodifiedLoopCondition>;
|
|
3570
3570
|
/**
|
|
3571
3571
|
* Disallow ternary operators when simpler alternatives exist
|
|
3572
3572
|
* @see https://eslint.org/docs/latest/rules/no-unneeded-ternary
|
|
@@ -11220,6 +11220,10 @@ type NoUnderscoreDangle = [] | [{
|
|
|
11220
11220
|
allowInArrayDestructuring?: boolean;
|
|
11221
11221
|
allowInObjectDestructuring?: boolean;
|
|
11222
11222
|
}];
|
|
11223
|
+
// ----- no-unmodified-loop-condition -----
|
|
11224
|
+
type NoUnmodifiedLoopCondition = [] | [{
|
|
11225
|
+
checkConditionalExpressions?: boolean;
|
|
11226
|
+
}];
|
|
11223
11227
|
// ----- no-unneeded-ternary -----
|
|
11224
11228
|
type NoUnneededTernary = [] | [{
|
|
11225
11229
|
defaultAssignment?: boolean;
|
|
@@ -15878,7 +15882,9 @@ type TsNoMeaninglessVoidOperator = [] | [{
|
|
|
15878
15882
|
}];
|
|
15879
15883
|
// ----- ts/no-misused-promises -----
|
|
15880
15884
|
type TsNoMisusedPromises = [] | [{
|
|
15881
|
-
checksConditionals?: boolean
|
|
15885
|
+
checksConditionals?: (boolean | {
|
|
15886
|
+
flagUnions?: ("all" | "strict" | "none");
|
|
15887
|
+
});
|
|
15882
15888
|
checksSpreads?: boolean;
|
|
15883
15889
|
checksVoidReturn?: (boolean | {
|
|
15884
15890
|
arguments?: boolean;
|