dscanner
brew install dscanner
v0.15.2
BSL-1.0
Analyses e.g. the style and syntax of D code
4
30-day installs · #11571
6
90-day · #13750
40
365-day · #11747
256
★ GitHub stars · updated 6mo ago
Build dependencies
GitHub topics
ctags
dlang
lint
linter
static-analysis
syntax-checker
Links
- https://github.com/dlang-community/D-Scanner
- GitHub: dlang-community/D-Scanner
- Brew formula source: Formula/d/dscanner.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"ldc"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Analyses e.g. the style and syntax of D code",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:37:08+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "dscanner",
"github_default_branch": "master",
"github_last_commit_at": "2026-02-18T14:48:43Z",
"github_readme_excerpt": "# D-Scanner\n\n[](https://github.com/dlang-community/D-Scanner/actions?query=workflow%3A%22run+tests%22)\n[](http://code.dlang.org/packages/dscanner)\n[](http://code.dlang.org/packages/dscanner)\n\nD-Scanner is a tool for analyzing D source code\n\n### Building and installing\nFirst make sure that you have all the source code. Run ```git submodule update --init --recursive```\nafter cloning the project.\n\nTo build D-Scanner, run ```make``` (or the build.bat file on Windows).\nThe build time can be rather long with the -inline flag on front-end versions\nolder than 2.066, so you may wish to remove it from the build script. The\nmakefile has \"ldc\" and \"gdc\" targets if you\u0027d prefer to compile with one of these\ncompilers instead of DMD. To install, simply place the generated binary (in the\n\"bin\" folder) somewhere on your $PATH.\n\n### Testing\nTesting does not work with DUB.\nUnder linux or OSX run the tests with `make test`.\nUnder Windows run the tests with `build.bat test`.\n\n### Installing with DUB\n\n```sh\n\u003e dub fetch dscanner \u0026\u0026 dub run dscanner\n```\n\n## Installing with Docker\n\nWith Docker no installation is required:\n\n```sh\ndocker run --rm -v $(pwd):/src dlangcommunity/dscanner\n```\n\n# Usage\nThe following examples assume that we are analyzing a simple file called helloworld.d\n\n```d\nimport std.stdio;\nvoid main(string[] args)\n{\n\twriteln(\"Hello World\");\n}\n```\n\n## Linting\n\nUse\n\n```sh\ndscanner lint source/\n```\n\nto view a human readable list of issues.\n\nDiagnostic types can be enabled/disabled using a configuration file, check out\nthe `--config` argument / `dscanner.ini` file for more info. Tip: some IDEs that\nintegrate D-Scanner may have helpers to configure the diagnostics or help\ngenerate the dscanner.ini file.\n\u003c!--\nIDE list for overview:\ncode-d has an \"insert default dscanner.ini c",
"github_repo": "dlang-community/D-Scanner",
"github_stars": 256,
"github_topics": [
"ctags",
"dlang",
"lint",
"linter",
"static-analysis",
"syntax-checker"
],
"homepage": "https://github.com/dlang-community/D-Scanner",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 4,
"installs_365d": 40,
"installs_90d": 6,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSL-1.0",
"llm_generated_at": null,
"llm_model": null,
"name": "dscanner",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 11571,
"rank_365d": 11747,
"rank_90d": 13750,
"raw_hash": "ba6e0a91722dfee2",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/d/dscanner.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.15.2",
"versioned_formulae": [],
"why_use_this": null
}