From a4ff6b4d9789d107394e7c4976b0692f08b1e5a0 Mon Sep 17 00:00:00 2001 From: Davlatjon Shavkatov Date: Tue, 23 Apr 2024 14:53:36 +0500 Subject: [PATCH] chore(formatter): add `config` --- biome.json | 7 +++++++ dprint.json | 25 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 biome.json create mode 100644 dprint.json diff --git a/biome.json b/biome.json new file mode 100644 index 0000000..24c4f82 --- /dev/null +++ b/biome.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.7.1/schema.json", + "extends": ["./benchmark/biome.json"], + "files": { + "ignore": [".vscode", "scripts"] + } +} diff --git a/dprint.json b/dprint.json new file mode 100644 index 0000000..fdb4c1c --- /dev/null +++ b/dprint.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://dprint.dev/schemas/v0.json", + "incremental": false, + "json": { + "lineWidth": 80, + "indentWidth": 2, + "useTabs": false, + "newLineKind": "lf", + "commentLine.forceSpaceAfterSlashes": true, + "preferSingleLine": false, + "trailingCommas": "never" + }, + "markdown": { + "lineWidth": 80, + "newLineKind": "lf", + "textWrap": "maintain", + "emphasisKind": "underscores", + "strongKind": "asterisks" + }, + "excludes": ["**/*-lock.json"], + "plugins": [ + "https://plugins.dprint.dev/json-0.19.2.wasm", + "https://plugins.dprint.dev/markdown-0.16.4.wasm" + ] +}