From 4375118cd998b3d69530a0730d75bababa2e7c85 Mon Sep 17 00:00:00 2001 From: Razboy20 Date: Sat, 17 Feb 2024 12:24:46 -0600 Subject: [PATCH] chore: add eslint on save --- .eslintrc | 1 + .vscode/settings.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 9c185f84..57918af5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -73,6 +73,7 @@ "ignoreReadBeforeAssign": false } ], + "no-plusplus": "off", "no-inner-declarations": "off", "sort-imports": "off", "no-case-declarations": "off", diff --git a/.vscode/settings.json b/.vscode/settings.json index e5de7edc..a89cbd32 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ { "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + }, "editor.defaultFormatter": "esbenp.prettier-vscode", "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" @@ -34,4 +37,4 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "typescript.tsdk": "node_modules/typescript/lib", -} \ No newline at end of file +}