feature/sidebar #8
20
dprint.json
20
dprint.json
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"$schema": "https://dprint.dev/schemas/v0.json",
|
||||
"incremental": true,
|
||||
"includes": ["**/*.{ts,tsx,js,jsx,svelte,json,md}"],
|
||||
"excludes": [
|
||||
@@ -22,7 +23,17 @@
|
||||
"quoteStyle": "preferSingle",
|
||||
"trailingCommas": "onlyMultiLine",
|
||||
"arrowFunction.useParentheses": "preferNone",
|
||||
"importDeclaration.sortNamedImports": "caseInsensitive"
|
||||
|
||||
// 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
|
||||
},
|
||||
"json": {
|
||||
"indentWidth": 2,
|
||||
@@ -37,6 +48,11 @@
|
||||
"useTabs": false,
|
||||
"quotes": "double",
|
||||
"scriptIndent": false,
|
||||
"styleIndent": false
|
||||
"styleIndent": false,
|
||||
|
||||
// Svelte-specific formatting
|
||||
"vBindStyle": "short",
|
||||
"vOnStyle": "short",
|
||||
"formatComments": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user