Be careful trying to placate the ESlint machine. Global functions and global constructor methods of the same name are not guaranteed to produce the same result.
Unfortunatley you cannot write comments in JSON files. Here are a couple of workarounds for commenting in JSON files.
Trying to deploy functions using Netlify Dev? Here is a guide to get started and deploy a function in Netlify Dev in minutes.