Configured Tools¶
Overview¶
Tools are configurations that define how to run apps automatically via dm check and dm fix.
Each tool references an app with specific arguments, file globs, and execution scope.
This configuration includes 18 tools.
Tools Reference¶
| Tool | Operations | File Patterns | Project Types | Scope |
|---|---|---|---|---|
| cspell | lint | **/* |
all | per-project |
| dotenv-linter | fix lint |
**/*.env**/*.env.***/.env**/.env.* |
all | per-file |
| editorconfig-checker | lint | **/* |
all | repository |
| eslint | fix lint |
**/*.cjs**/*.cts**/*.html**/*.js**/*.json**/*.json5**/*.jsonc**/*.jsx**/*.mjs**/*.mts**/*.toml**/*.ts**/*.tsx**/*.yaml**/*.yml |
npm-package | per-project |
| gitleaks | lint | **/* |
all | repository |
| golangci-lint | fix lint |
**/*.go |
golang-package | per-project |
| hadolint | lint | **/*.dockerfile**/Dockerfile**/Dockerfile.* |
all | per-file |
| oxlint | fix lint |
**/*.astro**/*.cjs**/*.cts**/*.js**/*.jsx**/*.mjs**/*.mts**/*.svelte**/*.ts**/*.tsx**/*.vue |
npm-package typescript-project |
per-project |
| pre-commit | fix | **/* |
pre-commit-project | repository |
| prettier | fix lint |
**/*.cjs**/*.cts**/*.d.ts**/*.html**/*.js**/*.json**/*.json5**/*.jsonc**/*.jsx**/*.md**/*.mjs**/*.mts**/*.toml**/*.ts**/*.tsx**/*.yaml**/*.yml |
npm-package typescript-project |
per-project |
| shellcheck | lint | **/*.bash**/*.sh |
all | per-file |
| shfmt | fix lint |
**/*.bash**/*.sh |
all | per-file |
| sort-package-json | fix lint |
**/package.json |
npm-package typescript-project |
per-file |
| syncpack | fix lint |
**/package.json |
npm-package typescript-project |
repository |
| tombi | fix lint |
**/*.toml |
all | repository |
| trufflehog | lint | **/* |
all | repository |
| tsc | lint | **/*.cts**/*.d.ts**/*.mts**/*.ts**/*.tsx |
typescript-project | per-project |
| typstyle | fix lint |
**/*.typ |
all | per-file |
Understanding Tools vs Apps¶
- Apps are the actual applications installed by datamitsu (eslint, prettier, etc.)
- Tools are configurations that tell datamitsu how to run those apps
- When you run
dm check, datamitsu executes all configured tools - When you run
dm fix, datamitsu executes tools with fix operations