brianleroux
brianleroux2y ago

should `deno lint` work without deno.json?

I have a file index.js with the following code var foo = 'bar …obviously broken. Running deno lint reports 'checked two files' but no error is given. running deno fmt fixes the file…which is neat…but I want to fail a build if the lint fails.
4 Replies
marvinh.
marvinh.2y ago
works fine on my end. Maybe the file wasn't saved in the editor?
No description
brianleroux
brianlerouxOP2y ago
yup its saved. i'm using vim. also noticing deno fmt actually loses code ! 😬
brianleroux
brianlerouxOP2y ago
No description
No description
No description
lcasdev
lcasdev2y ago
huh - let me check what's happening here

Did you find this page helpful?