dlang / dub

Package and build management system for D
MIT License
678 stars 227 forks source link

Improve dub lint documentation #2483

Open rikkimax opened 2 years ago

rikkimax commented 2 years ago

So this is a bit of a hunt, but the documentation for each of the commands are pulled from dub by dub-docs.

Lint, needs a way to link to dscanner's repository. Along with a method to generate a dscanner configuration file

https://forum.dlang.org/post/tg0cea$1ptf$1@digitalmars.com

WebFreak001 commented 2 years ago

imo we should rather integrate linter config into the DUB recipe, that way we could also do things like making certain warnigs fatal / stop the build, to enforce project policies.

However for this we first need some better framework to be able to disable linter checks per file and per section / per line.