You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That rule would have to raise an error during linting, because a Response return type was not provided. But it does not raise any errors and the lint succeeds.
As a reference, other linting rules seem to work, at least the few that I intentionally tested out, such as camelcase and eqeqeq.
The text was updated successfully, but these errors were encountered:
lucacasonato
changed the title
deno lint does not enforce explicit-function-return-type
[explicit-function-return-type] does not work on inline arrow functions
Oct 21, 2024
deno lint
does not enforce theexplicit-function-return-type
rule.Assuming the following
deno.json
snippet:And the following TS snippet of a Hono project:
That rule would have to raise an error during linting, because a
Response
return type was not provided. But it does not raise any errors and the lint succeeds.As a reference, other linting rules seem to work, at least the few that I intentionally tested out, such as
camelcase
andeqeqeq
.The text was updated successfully, but these errors were encountered: