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

Did you find this page helpful?