We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31cb269 commit 84e0ad8Copy full SHA for 84e0ad8
resources/lint/no-async.js
@@ -16,7 +16,10 @@ module.exports = function(context) {
16
if (node.async) {
17
context.report(
18
node,
19
- 'async functions are not allowed outside of the test suite'
+ 'async functions are not allowed outside of the test suite ' +
20
+ 'because older versions of NodeJS do not support them ' +
21
+ 'without additional runtime dependencies. Instead, use explicit ' +
22
+ 'Promises.'
23
);
24
}
25
},
0 commit comments