From 528a910b1b075f48f2c3532d84ac9eb750f27000 Mon Sep 17 00:00:00 2001 From: KaungWai Date: Fri, 23 Feb 2024 19:34:07 +0900 Subject: [PATCH] update eslint rules --- .eslintrc.json | 8 ++++---- .vscode/settings.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 46b4a14..9d6a073 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,7 @@ { "env": { - "browser": true, - "es2021": true + "browser": false, + "es6": true }, "extends": [ "eslint:recommended", @@ -21,7 +21,7 @@ "simple-import-sort" ], "rules": { - "simple-import-sort/imports": "error", - "simple-import-sort/exports": "error" + "simple-import-sort/imports": "warn", + "simple-import-sort/exports": "warn" } } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index c8b70d3..a68b61c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,7 +2,7 @@ "editor.formatOnSave": true, "editor.formatOnPaste": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": "explicit" + "source.fixAll.eslint": "always" }, "[prisma]": { "editor.defaultFormatter": "Prisma.prisma"