@typescript-eslint/eslint-plugin 8.4.1-alpha.14 → 8.4.1-alpha.15
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.
@@ -131,7 +131,7 @@ await createMyThenable();
|
|
131
131
|
|
132
132
|
### `ignoreVoid`
|
133
133
|
|
134
|
-
This option, which is `true` by default, allows you to stop the rule reporting promises consumed with void operator.
|
134
|
+
This option, which is `true` by default, allows you to stop the rule reporting promises consumed with the [`void` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void).
|
135
135
|
This can be a good way to explicitly mark a promise as intentionally not awaited.
|
136
136
|
|
137
137
|
Examples of **correct** code for this rule with `{ ignoreVoid: true }`:
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@typescript-eslint/eslint-plugin",
|
3
|
-
"version": "8.4.1-alpha.
|
3
|
+
"version": "8.4.1-alpha.15",
|
4
4
|
"description": "TypeScript plugin for ESLint",
|
5
5
|
"files": [
|
6
6
|
"dist",
|
@@ -60,10 +60,10 @@
|
|
60
60
|
},
|
61
61
|
"dependencies": {
|
62
62
|
"@eslint-community/regexpp": "^4.10.0",
|
63
|
-
"@typescript-eslint/scope-manager": "8.4.1-alpha.
|
64
|
-
"@typescript-eslint/type-utils": "8.4.1-alpha.
|
65
|
-
"@typescript-eslint/utils": "8.4.1-alpha.
|
66
|
-
"@typescript-eslint/visitor-keys": "8.4.1-alpha.
|
63
|
+
"@typescript-eslint/scope-manager": "8.4.1-alpha.15",
|
64
|
+
"@typescript-eslint/type-utils": "8.4.1-alpha.15",
|
65
|
+
"@typescript-eslint/utils": "8.4.1-alpha.15",
|
66
|
+
"@typescript-eslint/visitor-keys": "8.4.1-alpha.15",
|
67
67
|
"graphemer": "^1.4.0",
|
68
68
|
"ignore": "^5.3.1",
|
69
69
|
"natural-compare": "^1.4.0",
|
@@ -74,8 +74,8 @@
|
|
74
74
|
"@types/marked": "^5.0.2",
|
75
75
|
"@types/mdast": "^4.0.3",
|
76
76
|
"@types/natural-compare": "*",
|
77
|
-
"@typescript-eslint/rule-schema-to-typescript-types": "8.4.1-alpha.
|
78
|
-
"@typescript-eslint/rule-tester": "8.4.1-alpha.
|
77
|
+
"@typescript-eslint/rule-schema-to-typescript-types": "8.4.1-alpha.15",
|
78
|
+
"@typescript-eslint/rule-tester": "8.4.1-alpha.15",
|
79
79
|
"ajv": "^6.12.6",
|
80
80
|
"cross-env": "^7.0.3",
|
81
81
|
"cross-fetch": "*",
|