diff --git a/.editorconfig b/.editorconfig index 1ed453a3..25ddfac5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,7 +4,8 @@ root = true end_of_line = lf insert_final_newline = true -[*.{js,json,yml}] +[*.{js,ts,json,yml}] charset = utf-8 indent_style = space indent_size = 2 +print_width = 80 diff --git a/app.vue b/app.vue index ea43d67f..d5454ada 100644 --- a/app.vue +++ b/app.vue @@ -120,9 +120,7 @@ const setupNetwork = async () => { } } else { console.warn( - `Invalid network: ${network}, valid networks are ${SUPPORTED_NETWORK_IDS.join( - ', ' - )}` + `Invalid network: ${network}, valid networks are ${SUPPORTED_NETWORK_IDS.join(', ')}` ) } } diff --git a/biome.json b/biome.json index d97015f3..c91247ed 100644 --- a/biome.json +++ b/biome.json @@ -15,7 +15,8 @@ "formatter": { "enabled": false, "indentWidth": 2, - "indentStyle": "space" + "indentStyle": "space", + "lineWidth": 80 }, "javascript": { "formatter": { diff --git a/services/ipfs/formdata-base-client.ts b/services/ipfs/formdata-base-client.ts index 1be416d1..53a2568c 100644 --- a/services/ipfs/formdata-base-client.ts +++ b/services/ipfs/formdata-base-client.ts @@ -131,9 +131,7 @@ export class BaseFormDataUploader { error = (error as any).error || error throw new NetworkError( new Error( - `unknown server response while pinning File to IPFS: ${ - error || response.status - }` + `unknown server response while pinning File to IPFS: ${error || response.status}` ), response.status )