On 16.09.22 02:23, rikki cattermole wrote:
https://github.com/dlang/dub/issues/2483
Also the double --config option is already in a bugreport (quite old),
but not fixed as far as i can see:
https://github.com/dlang/dub/issues/1940
Kind regards,
Christian
https://github.com/dlang/dub/issues/2483
On 16.09.22 01:14, Christian Köstlin wrote:
On 16.09.22 00:14, Ali Çehreli wrote:
On 9/15/22 15:04, Ali Çehreli wrote:
> Is there a way to silence specific 'dub lint' warnings?
Answering myself, I don't think it's possible but luckily my catching
an Error was in uni
ls did that too.)
> interestingly `dub lint --help` shows two different options for
`--config`:
>
> ```
> dub lint --help
> USAGE: dub lint [[@]] [] [--
> ]
> ..
> ..
>--config=VALUEUse the given configuration file.
> ..
> ..
>-c --config=V
On 16.09.22 00:14, Ali Çehreli wrote:
On 9/15/22 15:04, Ali Çehreli wrote:
> Is there a way to silence specific 'dub lint' warnings?
Answering myself, I don't think it's possible but luckily my catching an
Error was in unittests only so I can do either of the following
On 9/15/22 15:04, Ali Çehreli wrote:
> Is there a way to silence specific 'dub lint' warnings?
Answering myself, I don't think it's possible but luckily my catching an
Error was in unittests only so I can do either of the following to skip
unittest code when linting:
}
}
[warn]: Catching Error or Throwable is almost always a bad idea.
Is there a way to silence specific 'dub lint' warnings? For example, the
code above is actually similar to assertThrown!Error, which knows what
it's doing. :)
https://dub.pm/commandline.html#lint
Ali
I've always thought of dub as a package manager and a build tool. But it
actually makes it easy to use other tools:
- dub lint: Runs some checks on your project. What I liked is how it
removed the need to figure out how to install dscanner, which it uses
behind the scenes. It inst