mirror of
https://github.com/kjanat/articulate-parser.git
synced 2026-10-13 01:35:27 +02:00
Extend dprint from a shared remote config and add the prettier and exec plugins, formatting TOML via a new tombi.toml instead of golangci-lint fmt. Taskfile.yml, scripts/build.sh, and html_styles.css pick up the resulting reformat. Exporter examples now write to a temp dir and clean up after themselves instead of leaving output.md/.docx/.html in the repo. Drop the stray internal/exporters/output.docx and ignore internal/exporters/output.* going forward.
20 lines
739 B
JSON
20 lines
739 B
JSON
{
|
|
"$schema": "https://dprint.dev/schemas/v0.json",
|
|
"extends": "https://github.com/kjanat/kjanat/raw/8cb7b67/configs/dprint.remote.json",
|
|
"excludes": ["**/node_modules", "**/.venv", "**/bun.lock*"],
|
|
"plugins": [
|
|
"npm:@dprint/prettier@0.70.0/plugin.json@97c0dccf54ed5b7343e7a3f6418e77bd80afcd2b74beed3a632689d47e392ddc",
|
|
"npm:@dprint/exec@0.7.3/plugin.json@704701df449dd7e942a71144773778ac529d68c2e4657bfc236d393b898b9a67",
|
|
],
|
|
"markdown": { "associations": ["!README.md"] },
|
|
"prettier": { "associations": ["README.md"], "useTabs": false },
|
|
"exec": {
|
|
"cwd": "${configDir}",
|
|
"commands": [{
|
|
"command": "bunx tombi format - --stdin-filename {{file_path}}",
|
|
"exts": ["toml"],
|
|
"cacheKeyFiles": ["tombi.toml"],
|
|
}],
|
|
},
|
|
}
|