From 5f7bfdeb1a9a2c47967ac05d87db416603f2a5ab Mon Sep 17 00:00:00 2001 From: Refringe Date: Fri, 10 Nov 2023 13:25:58 -0500 Subject: [PATCH] Gets Biome and ESLint working for non-formatting linting. --- project/.eslintrc.json | 5 +---- project/Server.code-workspace | 17 +++++------------ 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/project/.eslintrc.json b/project/.eslintrc.json index a389b7d3..fc5a0d14 100644 --- a/project/.eslintrc.json +++ b/project/.eslintrc.json @@ -18,9 +18,6 @@ "@typescript-eslint/no-var-requires": "error", "@typescript-eslint/explicit-module-boundary-types": ["error", { "allowArgumentsExplicitlyTypedAsAny": true }], "@typescript-eslint/naming-convention": ["error", { - "selector": "import", - "format": ["camelCase", "PascalCase", "UPPER_CASE"] - }, { "selector": "default", "format": ["camelCase"], "leadingUnderscore": "allow" @@ -59,7 +56,7 @@ ], "rules": { "no-var-requires": "off", - "@typescript-eslint/no-var-requires": "off", + "@typescript-eslint/no-var-requires": "off" } }] } diff --git a/project/Server.code-workspace b/project/Server.code-workspace index 9e60789a..ce3449b0 100644 --- a/project/Server.code-workspace +++ b/project/Server.code-workspace @@ -7,9 +7,8 @@ "extensions": { "recommendations": [ "EditorConfig.EditorConfig", - "Jota0222.multi-formatter", - "dbaeumer.vscode-eslint", "dprint.dprint", + "dbaeumer.vscode-eslint", "biomejs.biome" ] }, @@ -17,15 +16,9 @@ "window.title": "SPT-AKI Server", "editor.formatOnSave": true, "editor.defaultFormatter": "dprint.dprint", - "multiFormatter.formatterList": [ - "dprint.dprint", - "biomejs.biome" - ], - "[typescript]": { - "editor.codeActionsOnSave": { - "quickfix.biome": false, - "source.organizeImports.biome": true - } - } + "editor.codeActionsOnSave": [ + "source.fixAll.eslint", + "source.organizeImports.biome" + ] } }