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
works fine on my end. Maybe the file wasn't saved in the editor?
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1230198108508655686/Screenshot_2024-04-17_at_18.47.35.png)
yup its saved. i'm using vim. also noticing
deno fmt
actually loses code ! 😬![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1230202979643162664/Screenshot_2024-04-17_at_10.06.36_AM.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1230202979987099809/Screenshot_2024-04-17_at_10.06.57_AM.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1230202980305862727/Screenshot_2024-04-17_at_10.07.10_AM.png)
huh - let me check what's happening here