2025-12-26 14:26:37 +03:00
|
|
|
{
|
2026-01-02 17:00:58 +03:00
|
|
|
"$schema": "https://dprint.dev/schemas/v0.json",
|
2025-12-26 14:26:37 +03:00
|
|
|
"incremental": true,
|
2025-12-30 11:05:13 +03:00
|
|
|
"includes": ["**/*.{ts,tsx,js,jsx,svelte,json,md}"],
|
2025-12-26 14:26:37 +03:00
|
|
|
"excludes": [
|
|
|
|
|
"**/node_modules",
|
|
|
|
|
"**/dist",
|
|
|
|
|
"**/build",
|
|
|
|
|
"**/.svelte-kit",
|
|
|
|
|
"**/.vercel"
|
|
|
|
|
],
|
|
|
|
|
"plugins": [
|
|
|
|
|
"https://plugins.dprint.dev/typescript-0.93.0.wasm",
|
|
|
|
|
"https://plugins.dprint.dev/json-0.19.3.wasm",
|
2025-12-30 11:05:13 +03:00
|
|
|
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
|
|
|
|
|
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.25.3.wasm"
|
2025-12-26 14:26:37 +03:00
|
|
|
],
|
|
|
|
|
"typescript": {
|
|
|
|
|
"lineWidth": 100,
|
2025-12-30 11:05:13 +03:00
|
|
|
"indentWidth": 4,
|
2025-12-26 14:26:37 +03:00
|
|
|
"useTabs": false,
|
|
|
|
|
"semiColons": "prefer",
|
2025-12-30 11:05:13 +03:00
|
|
|
"quoteStyle": "preferSingle",
|
|
|
|
|
"trailingCommas": "onlyMultiLine",
|
2025-12-26 14:26:37 +03:00
|
|
|
"arrowFunction.useParentheses": "preferNone",
|
2026-01-02 17:00:58 +03:00
|
|
|
|
|
|
|
|
// Import sorting configuration
|
|
|
|
|
"module.sortImportDeclarations": "caseSensitive",
|
|
|
|
|
"module.sortExportDeclarations": "caseSensitive",
|
|
|
|
|
"importDeclaration.sortNamedImports": "caseSensitive",
|
|
|
|
|
|
|
|
|
|
// Additional import formatting options
|
|
|
|
|
"importDeclaration.forceMultiLine": "whenMultiple",
|
|
|
|
|
"importDeclaration.forceSingleLine": false,
|
|
|
|
|
"exportDeclaration.forceMultiLine": "whenMultiple",
|
|
|
|
|
"exportDeclaration.forceSingleLine": false
|
2025-12-26 14:26:37 +03:00
|
|
|
},
|
|
|
|
|
"json": {
|
|
|
|
|
"indentWidth": 2,
|
|
|
|
|
"useTabs": false
|
|
|
|
|
},
|
|
|
|
|
"markdown": {
|
|
|
|
|
"lineWidth": 100
|
2025-12-30 11:05:13 +03:00
|
|
|
},
|
|
|
|
|
"markup": {
|
|
|
|
|
"printWidth": 100,
|
|
|
|
|
"indentWidth": 4,
|
|
|
|
|
"useTabs": false,
|
|
|
|
|
"quotes": "double",
|
2026-01-02 11:08:58 +03:00
|
|
|
"scriptIndent": false,
|
2026-01-02 17:00:58 +03:00
|
|
|
"styleIndent": false,
|
|
|
|
|
|
|
|
|
|
// Svelte-specific formatting
|
|
|
|
|
"vBindStyle": "short",
|
|
|
|
|
"vOnStyle": "short",
|
|
|
|
|
"formatComments": true
|
2025-12-26 14:26:37 +03:00
|
|
|
}
|
|
|
|
|
}
|