From 01ed0db8fa30bb26723415267554edf1a34eabd4 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 13 May 2024 13:08:34 -0700 Subject: [PATCH] chore: wip --- .vscode/dictionary.txt | 2 ++ .vscode/extensions.json | 2 +- .vscode/settings.json | 66 +++-------------------------------------- 3 files changed, 7 insertions(+), 63 deletions(-) diff --git a/.vscode/dictionary.txt b/.vscode/dictionary.txt index 7ff2ce8..b79d07c 100644 --- a/.vscode/dictionary.txt +++ b/.vscode/dictionary.txt @@ -1,4 +1,5 @@ antfu +biomejs booleanish bumpp bunx @@ -29,6 +30,7 @@ Postcardware postcompile prefetch preinstall +quickfix socio Solana sslx diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 9231432..a4d6a99 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,7 +2,7 @@ // See https://go.microsoft.com/fwlink/?LinkId=827846 // for the documentation about the extensions.json format "recommendations": [ - "dbaeumer.vscode-eslint", + "biomejs.biome", "streetsidesoftware.code-spell-checker", "davidanson.vscode-markdownlint" ] diff --git a/.vscode/settings.json b/.vscode/settings.json index 9b1f20e..98cf65d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,73 +1,15 @@ { "typescript.tsdk": "node_modules/typescript/lib", - // Enable the ESlint flat config support - "eslint.experimental.useFlatConfig": true, - // Disable the default formatter, use eslint instead + // Disable the default formatter, use biome instead "prettier.enable": false, + "editor.defaultFormatter": "biomejs.biome", "editor.formatOnSave": false, // Auto fix "editor.codeActionsOnSave": { + "quickfix.biome": "explicit", "source.fixAll.eslint": "explicit", - "source.organizeImports": "never" + "source.organizeImports.biome": "explicit" }, - // Silent the stylistic rules in you IDE, but still auto fix them - "eslint.rules.customizations": [ - { - "rule": "style/*", - "severity": "off" - }, - { - "rule": "format/*", - "severity": "off" - }, - { - "rule": "*-indent", - "severity": "off" - }, - { - "rule": "*-spacing", - "severity": "off" - }, - { - "rule": "*-spaces", - "severity": "off" - }, - { - "rule": "*-order", - "severity": "off" - }, - { - "rule": "*-dangle", - "severity": "off" - }, - { - "rule": "*-newline", - "severity": "off" - }, - { - "rule": "*quotes", - "severity": "off" - }, - { - "rule": "*semi", - "severity": "off" - } - ], - // Enable eslint for all supported languages - "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "vue", - "stx", - "html", - "markdown", - "json", - "jsonc", - "yaml", - "toml" - ], "cSpell.ignorePaths": ["node_modules"], "cSpell.dictionaries": ["custom-dictionary"], "cSpell.diagnosticLevel": "Hint",