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