@haltcase/style 1.0.0-canary.6 → 1.0.0-canary.7
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,22 @@ module.exports = {
|
|
|
66
66
|
selector: "interface"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
|
+
/**
|
|
70
|
+
* Disallow Promises in places not designed to handle them.
|
|
71
|
+
*
|
|
72
|
+
* Function arguments and JSX attributes are allowed.
|
|
73
|
+
*
|
|
74
|
+
* 🚫 Not fixable - https://typescript-eslint.io/rules/no-misused-promises
|
|
75
|
+
*/
|
|
76
|
+
"@typescript-eslint/no-misused-promises": [
|
|
77
|
+
error,
|
|
78
|
+
{
|
|
79
|
+
checksVoidReturn: {
|
|
80
|
+
arguments: false,
|
|
81
|
+
attributes: false
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
],
|
|
69
85
|
/**
|
|
70
86
|
* Disallow members of unions and intersections that do nothing or override type information.
|
|
71
87
|
*
|