brianleroux
brianleroux8mo 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.8mo ago
works fine on my end. Maybe the file wasn't saved in the editor?
No description
brianleroux
brianlerouxOP8mo ago
yup its saved. i'm using vim. also noticing deno fmt actually loses code ! 😬
brianleroux
brianlerouxOP8mo ago
No description
No description
No description
lcasdev
lcasdev8mo ago
huh - let me check what's happening here