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