Replies: 1 comment
-
I think you're asking for eslint's |
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
-
Consider this code:
Neither
deno lint
, norbiome
, noroxlint
had any complaints about it by default, even though the error is quite obvious.I don't want to opt into automatic formatting so, I could run
deno fmt --check
and try to ignore everything else but that issue with theelse
, but this isn't realistic and doesn't integrate with the LSP either.This is a situation in which a formatting rule (eslint's
curly
) would catch a logical error.Beta Was this translation helpful? Give feedback.
All reactions