aboutsummaryrefslogtreecommitdiff
path: root/dprint.json
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-12 10:25:43 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-12 10:25:43 +0200
commit822d1ee1be99b7d96740585ddd1174b94916335d (patch)
tree7005e359d7f62dede5f3eabe02becec37d8bfe57 /dprint.json
parent7f7e14bd9dce02e6ced663fd527a5750cd13f920 (diff)
dprint formatter :tada:
Diffstat (limited to 'dprint.json')
-rw-r--r--dprint.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/dprint.json b/dprint.json
new file mode 100644
index 0000000..6e15825
--- /dev/null
+++ b/dprint.json
@@ -0,0 +1,32 @@
+{
+ "$schema": "https://dprint.dev/schemas/v0.json",
+ "projectType": "openSource",
+ "incremental": true,
+ "useTabs": true,
+ "typescript": {
+ "semiColons": "always",
+ "quoteStyle": "preferSingle",
+ "importDeclaration.spaceSurroundingNamedImports": true
+ },
+ "markdown": {
+ "textWrap": "always",
+ "emphasisKind": "asterisks",
+ "strongKind": "asterisks"
+ },
+ "json": { "lineWidth": 80 },
+ "includes": [
+ "**/*.{ts,tsx}",
+ "**/*.{md}",
+ "**/*.{json}"
+ ],
+ "excludes": [
+ "node_modules/**",
+ "**/*-lock.json",
+ ".next/**"
+ ],
+ "plugins": [
+ "https://plugins.dprint.dev/typescript-0.44.0.wasm",
+ "https://plugins.dprint.dev/markdown-0.6.2.wasm",
+ "https://plugins.dprint.dev/json-0.10.1.wasm"
+ ]
+}