How do I turn off dlint?

Hello everyone,

I’m currently working on somebody else’s codebase and they don’t seem to particularly care about fixing the warnings produced by dlint. Thus, my “Problems” view is overflowing with warnings right now. Is there a way to (temporarily) disable dlint completely?

Many thanks,
Martin.

2 Likes

I know of daml build --without-dlint will that do the trick?

2 Likes

Thanks a lot for your answer @shaynefletcher. That helps.

Is there also a way to disable dlint in DAML Studio?

1 Like

I believe that if you put - ignore: {} in your project’s .dlint.yaml and restart your IDE that will likely have the effect you’re looking for.

2 Likes

Indeed, that does the job. Thank you so much!

2 Likes