anki/.dprint.json
Damien Elmes b2049209ff Re-enable formatting for .ts files
There are some style differences compared to prettier, and not all are
necessarily an improvement, but it's much faster now.
2022-11-28 09:33:04 +10:00

38 lines
1014 B
JSON

{
"typescript": {
"indentWidth": 4
},
"json": {
"indentWidth": 4
},
"markdown": {},
"toml": {},
"prettier": {
"trailingComma": "all",
"printWidth": 88,
"tabWidth": 4,
"semi": true
},
"includes": ["**/*.{ts,tsx,js,jsx,cjs,mjs,json,md,toml,svelte}"],
"excludes": [
"**/node_modules",
"out/**",
"**/*-lock.json",
"qt/aqt/data/web/js/vendor/*.js",
"ftl/qt-repo",
"ftl/core-repo",
"ftl/usage",
"licenses.json",
".dmypy.json",
"qt/bundle/PyOxidizer",
"target"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.77.0.wasm",
"https://plugins.dprint.dev/json-0.16.0.wasm",
"https://plugins.dprint.dev/markdown-0.14.1.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm",
"https://plugins.dprint.dev/prettier-0.13.0.json@dc5d12b7c1bf1a4683eff317c2c87350e75a5a3dfcc127f3d5628931bfb534b1"
]
}