Init Configurations¶
Overview¶
Init configurations define which files datamitsu creates when you run dm init.
These include dotfiles, tool configurations, AI instructions, and IDE settings.
This configuration includes 33 init configs.
Init Configs Reference¶
| File | Scope | Project Types | Link Target | Delete Only | Also Deletes |
|---|---|---|---|---|---|
.cursor/rules |
git-root | all | ../AGENTS.md |
— | |
.cursorrules |
git-root | all | AGENTS.md |
— | |
.dockerignore |
git-root | all | — | — | |
.editorconfig |
git-root | all | — | — | |
.editorconfig-checker.json |
git-root | all | — | — | |
.github/copilot-instructions.md |
git-root | all | ../AGENTS.md |
— | |
.gitignore |
git-root | all | — | — | |
.gitleaks.toml |
git-root | all | — | gitleaks.toml |
|
.golangci.yaml |
project | golang-package | — | .golangci.yml.golangci.yaml.golangci.toml.golangci.json |
|
.node-version |
git-root | all | — | — | |
.npmrc |
git-root | npm-package | — | — | |
.oxlintrc.json |
project | npm-package | — | — | |
.syncpackrc.json |
git-root | npm-package | — | .syncpackrc.syncpackrc.json.syncpackrc.yaml.syncpackrc.yml.syncpackrc.js.syncpackrc.ts.syncpackrc.mjs.syncpackrc.cjssyncpack.config.jssyncpack.config.cjssyncpack.config.tssyncpack.config.mjs |
|
.tombi.toml |
git-root | all | — | tombi.toml.tombi.toml |
|
.trufflehog-exclude-paths.txt |
git-root | all | — | — | |
.vscode/extensions.json |
git-root | all | — | — | |
.vscode/settings.json |
git-root | all | — | — | |
.windsurfrules |
git-root | all | AGENTS.md |
— | |
AGENTS.md |
git-root | all | — | — | |
CLAUDE.md |
git-root | all | AGENTS.md |
— | |
commitlint.config.js |
git-root | all | — | .commitlintrc.commitlintrc.json.commitlintrc.yaml.commitlintrc.yml.commitlintrc.js.commitlintrc.cjs.commitlintrc.mjs.commitlintrc.ts.commitlintrc.cts.commitlintrc.mtscommitlint.config.jscommitlint.config.cjscommitlint.config.mjscommitlint.config.tscommitlint.config.ctscommitlint.config.mts |
|
cspell.config.js |
git-root | all | — | .cspell.config.yaml.cspell.config.ymlcspell.config.yamlcspell.config.yml.cspell.yaml.cspell.ymlcspell.yamlcspell.yml.cspell.jsoncspell.json.cSpell.jsoncSpell.json.cspell.jsonccspell.jsonc.cspell.config.json.cspell.config.jsonccspell.config.jsoncspell.config.jsonccspell.config.mjscspell.config.cjs.cspell.config.mjs.cspell.config.cjs.cspell.config.jscspell.config.mtscspell.config.tscspell.config.cts.cspell.config.mts.cspell.config.ts.cspell.config.ctscspell.config.toml.cspell.config.toml |
|
deprecated-configs |
project | all | — | ✓ | .babelrc.babelrc.jsbabel.config.js.lintstagedrc.lintstagedrc.json.lintstagedrc.yaml.lintstagedrc.yml.lintstagedrc.mjslint-staged.config.mjs.lintstagedrc.cjslint-staged.config.cjslint-staged.config.js.lintstagedrc.js.husky.taplo.tomltaplo.toml |
eslint.config.js |
project | npm-package | — | eslint.config.jseslint.config.mjseslint.config.cjseslint.config.tseslint.config.mtseslint.config.cts.eslintrc.js.eslintrc.cjs.eslintrc.yaml.eslintrc.yml.eslintrc.json |
|
GEMINI.md |
git-root | all | AGENTS.md |
— | |
hadolint.yaml |
git-root | all | — | .hadolint.yamlhadolint.yaml.config/hadolint.yaml.hadolint/hadolint.yaml |
|
knip.config.js |
git-root | npm-package | — | knip.jsonknip.jsonc.knip.json.knip.jsoncknip.tsknip.jsknip.config.tsknip.config.js |
|
lefthook.yaml |
git-root | all | — | .lefthook.ymllefthook.yaml.config/lefthook.yml.lefthook.yaml.config/lefthook.yamllefthook.toml.lefthook.toml.config/lefthook.tomllefthook.json.lefthook.json.config/lefthook.json |
|
package.json |
project | npm-package | — | — | |
pnpm-workspace.yaml |
git-root | pnpm-package | — | — | |
prettier.config.js |
project | npm-package | — | .prettierrc.prettierrc.json.prettierrc.yml.prettierrc.yaml.prettierrc.json5.prettierrc.jsprettier.config.js.prettierrc.tsprettier.config.ts.prettierrc.mjsprettier.config.mjs.prettierrc.mtsprettier.config.mts.prettierrc.cjsprettier.config.cjs.prettierrc.ctsprettier.config.cts.prettierrc.toml |
|
pyproject.toml |
project | python-package | — | — | |
turbo.json |
git-root | turbo-package | — | — |
Field Descriptions¶
- File: The filename or path that will be created or managed
- Scope: Where the file is created:
git-root: Created at the repository rootproject: Created in each project directory (for monorepos)- Project Types: Which project types this config applies to (empty = all projects)
- Link Target: If present, creates a symlink to this target instead of a file
- Delete Only: If checked (✓), only removes files without creating new ones
- Also Deletes: Other filenames that will be removed when this config is applied
How Init Works¶
When you run dm init, datamitsu:
- Detects your project type (npm, Go, TypeScript, etc.)
- Filters configs by project type (configs with empty project types apply to all)
- For each config:
- If Delete Only is checked: removes the file and any files in Also Deletes
- If Link Target is set: creates a symlink to the target
- Otherwise: generates content and merges with existing files
- Preserves your customizations during updates