no-invalid-fetch-options
UnreleasedConfiguration
rslint.config.ts
Rule Details
Disallows request bodies in fetch() and new Request() calls whose method is
GET or HEAD. The Fetch Standard throws a TypeError for these combinations.
Examples of incorrect code for this rule:
Examples of correct code for this rule: