DenoDDeno
Powered by
brianlerouxB
Deno•2y ago•
4 replies
brianleroux

should `deno lint` work without deno.json?

I have a file
index.js
index.js
with the following code
var foo = 'bar
var foo = 'bar
…obviously broken. Running
deno lint
deno lint
reports 'checked two files' but no error is given. running
deno fmt
deno fmt
fixes the file…which is neat…but I want to fail a build if the lint fails.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

how to specify lint rules in deno.json?
subbedSsubbed / help
2y ago
deno lint missing imports
TinoTTino / help
2y ago
Deno lint custom rules
MqxMMqx / help
3y ago
🦕 Deno adds to package.json instead of deno.jsonc.
RolloRRollo / help
6mo ago