@haltcase/style 6.0.0 → 6.1.0
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.
|
@@ -66,6 +66,19 @@ module.exports = {
|
|
|
66
66
|
selector: "interface"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
|
+
/**
|
|
70
|
+
* Prevent `void` type expressions from being used in misleading locations
|
|
71
|
+
* such as being assigned to a variable, provided as a function argument,
|
|
72
|
+
* or returned from a function (except concise arrow functions).
|
|
73
|
+
*
|
|
74
|
+
* 🔧 Fixable - https://typescript-eslint.io/rules/no-confusing-void-expression/
|
|
75
|
+
*/
|
|
76
|
+
"@typescript-eslint/no-confusing-void-expression": [
|
|
77
|
+
error,
|
|
78
|
+
{
|
|
79
|
+
ignoreArrowShorthand: true
|
|
80
|
+
}
|
|
81
|
+
],
|
|
69
82
|
/**
|
|
70
83
|
* Disallow Promises in places not designed to handle them.
|
|
71
84
|
*
|