mswjs / msw

Industry standard API mocking for JavaScript.
https://mswjs.io
MIT License
15.97k stars 519 forks source link

Exclude SW file from deno-lint: require-await #2331

Closed muhrifqii closed 3 weeks ago

muhrifqii commented 3 weeks ago

When the project is using deno lint as a linter, this mock sw file will fall to the deno-lint rule https://lint.deno.land/rules/require-await on lines 132 and 277

kettanaito commented 3 weeks ago

Hi, @muhrifqii. Thanks for opening this.

Please read this document on why adding the ignore comments to the worker script isn't a solution to the problem you're experiencing. Thanks.