Replies: 1 comment
-
How about using the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Novice ESLint user here. Love the library.
My collaborator and I regularly notice ourselves using default Javascript Response objects, instead of the helper functions like SvelteKit's
[json()](https://svelte.dev/docs/kit/@sveltejs-kit#json)
,text()
and such. Would it be possible to create a rule that warns us of these, so we are encouraged to follow the SvelteKit convention?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions