📝 Prefer Response.json() over new Response(JSON.stringify()).
💼 This rule is enabled in the following configs: ✅ recommended, ☑️ unopinionated.
🔧 This rule is automatically fixable by the --fix CLI option.
Prefer using Response.json() when possible.
// ❌
const response = new Response(JSON.stringify(data));
// ✅
const response = Response.json(data);