From 4fe55d74a69910eba5e5e42e586525c154720bb9 Mon Sep 17 00:00:00 2001 From: Taken Date: Fri, 6 Sep 2024 21:58:10 +0200 Subject: [PATCH] Added config for dprint Signed-off-by: Taken --- dprint.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dprint.json diff --git a/dprint.json b/dprint.json new file mode 100644 index 0000000..10f1671 --- /dev/null +++ b/dprint.json @@ -0,0 +1,32 @@ +{ + "$schema": "https://plugins.dprint.dev/dprint/dprint-plugin-typescript/latest/schema.json", + "typescript": { + "lineWidth": 120, + "indentWidth": 4, + "useTabs": false, + "semiColons": "asi", + "quoteStyle": "alwaysDouble", + "newLineKind": "lf", + "bracePosition": "sameLine", + "trailingCommas": "never", + "operatorPosition": "maintain", + "preferHanging": true + }, + "json": { + "indentWidth": "4" + }, + "markdown": { + }, + "toml": { + }, + "excludes": [ + "**/node_modules", + "**/*-lock.json" + ], + "plugins": [ + "https://plugins.dprint.dev/typescript-0.91.8.wasm", + "https://plugins.dprint.dev/json-0.19.3.wasm", + "https://plugins.dprint.dev/markdown-0.17.8.wasm", + "https://plugins.dprint.dev/toml-0.6.2.wasm" + ] +}