eslint-plugin-function-call-context
ESLint plugin to verify that some functions are called in the correct context.
Configuration
"rules":
Rules
call-in-function
This rule checks that certain functions are called inside of another function.
This can be useful if you don't want to run these functions right when the script is loaded.
Invalid
const myVar =
Valid
{ const myVar = }
Options
"function-call-context/call-in-function":