mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

The plan is to eventually use dprint for most of our formatting, but for now most files are excluded, and this is just going to be used to format our toml files.
25 lines
827 B
JSON
25 lines
827 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", "**/*-lock.json", "**/*.{ts,json,md,svelte}", "qt/aqt/data/web/js/vendor/*.js"],
|
|
"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"
|
|
]
|
|
}
|