deno lint
produces unreadable output for minified files.
#26574
Labels
bug
Something isn't working correctly
deno lint
produces unreadable output for minified files.
#26574
Version: Deno 2.0.3
This came up in #26519 (comment). While I think #26573 will minimize impact of the problem,
deno lint
should still be smarter about printing code snippets.If the diagnostic is produced for a rather big column no (eg.
>=200
),deno lint
should put a placeholder instead of printing out the whole code snippet with highlighted range.Additionally a hint should be provided that this situation suggests a minified file is being linted, which usually is not what user wanted. The hint should suggest to exclude the file in
deno.json
config.The text was updated successfully, but these errors were encountered: