configuration-dprint/dprint.json
2025-10-03 16:12:19 +02:00

112 lines
3.3 KiB
JSON

{
"excludes": ["**/*.min.*", "**/node_modules", "dist/**"],
"graphql": {
"braceSpacing": false,
"bracketSpacing": true,
"comma": "always",
"formatComments": true,
"indentWidth": 2,
"lineBreak": "lf",
"parenSpacing": false,
"printWidth": 120,
"singleLine": "never",
"useTabs": false
},
"indentWidth": 2,
"json": {
"array.preferSingleLine": false,
"commentLine.forceSpaceAfterSlashes": true,
"indentWidth": 2,
"jsonTrailingCommaFiles": [".swcrc", "biome.jsonc", "dprint.jsonc", "settings.json", "tsconfig.json"],
"lineWidth": 120,
"newLineKind": "lf",
"object.preferSingleLine": false,
"preferSingleLine": false,
"trailingCommas": "never",
"useTabs": false
},
"kdl": {},
"lineWidth": 120,
"malva": {
"alignComments": true,
"attrValueQuotes": "always",
"blockSelectorLinebreak": "consistent",
"formatComments": true,
"hexCase": "lower",
"hexColorLength": "long",
"indentWidth": 2,
"keyframeSelectorNotation": "keyword",
"lineBreak": "lf",
"linebreakInPseudoParens": true,
"omitNumberLeadingZero": false,
"operatorLinebreak": "before",
"preferSingleLine": true,
"printWidth": 100,
"quotes": "alwaysDouble",
"singleLineBlockThreshold": null,
"singleLineTopLevelDeclarations": false,
"trailingComma": false,
"useTabs": false
},
"markdown": {
"emphasisKind": "underscores",
"lineWidth": 100,
"strongKind": "asterisks",
"textWrap": "always"
},
"markup": {
"closingBracketSameLine": false,
"closingTagLineBreakForEmpty": "never",
"component.selfClosing": true,
"doctypeKeywordCase": "lower",
"formatComments": true,
"html.normal.selfClosing": false,
"html.scriptIndent": false,
"html.styleIndent": false,
"html.void.selfClosing": true,
"indentWidth": 2,
"lineBreak": "lf",
"maxAttrsPerLine": 3,
"preferAttrsSingleLine": false,
"printWidth": 120,
"quotes": "double",
"scriptIndent": true,
"styleIndent": true,
"svg.selfClosing": true,
"useTabs": false,
"whitespaceSensitivity": "strict"
},
"newLineKind": "lf",
"plugins": [
"https://plugins.dprint.dev/dockerfile-0.3.3.wasm",
"https://plugins.dprint.dev/g-plane/malva-v0.14.3.wasm",
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.24.0.wasm",
"https://plugins.dprint.dev/g-plane/pretty_graphql-v0.2.3.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",
"https://plugins.dprint.dev/json-0.20.0.wasm",
"https://plugins.dprint.dev/kachick/kdl-0.3.2.wasm",
"https://plugins.dprint.dev/markdown-0.19.0.wasm",
"https://plugins.dprint.dev/toml-0.7.0.wasm",
"https://plugins.dprint.dev/typescript-0.95.11.wasm"
],
"typescript": {
"arrowFunction.useParentheses": "preferNone",
"conditionalExpression.operatorPosition": "sameLine",
"conditionalExpression.preferSingleLine": true
},
"useTabs": false,
"yaml": {
"braceSpacing": true,
"bracketSpacing": false,
"formatComments": true,
"indentBlockSequenceInMap": true,
"indentWidth": 2,
"lineBreak": "lf",
"preferSingleLine": false,
"printWidth": 120,
"quotes": "preferDouble",
"trailingComma": true,
"trimTrailingWhitespaces": true,
"trimTrailingZero": true
}
}