Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ Function
Function
Function
build-system/eslint-rules/no-function-async.js:5–13 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
3
module.exports =
function
(context) {
4
return
{
5
Function(node) {
6
if
(!node.
async
) {
7
return
;
8
}
9
context.report({
10
node,
11
message:
'Async functions are foribdden.'
,
12
});
13
},
14
};
15
};
Callers
3
bundle.js
File · 0.50
ResizeObserver.js
File · 0.50
installResizeObserver
Function · 0.50
Calls
1
report
Method · 0.45
Tested by
no test coverage detected