79114122

Date: 2024-10-22 12:48:41
Score: 2
Natty:
Report link

The 'global' not being defined is referring to a Node global: https://github.com/sindresorhus/globals/blob/main/data/nodeBuiltin.mjs#L30

So adding ...globals.node should do the trick:

globals: {
  ...globals.browser,
  ...globals.jest,
  ...globals.node,
},
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andreas Reffstrup