From 8acfa93fceaf70ce4a1f6ba2c7268d5c0c37cf2a Mon Sep 17 00:00:00 2001 From: EndMove Date: Sun, 3 Sep 2023 10:51:37 +0200 Subject: [PATCH] fix: prettier to warning and trailingComma --- .eslintrc.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index de83f02..9d7bc6a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -110,7 +110,7 @@ "dot-notation": "warn", "quotes": ["error", "single"], "prettier/prettier": [ - "error", + "warn", { "printWidth": 120, "tabWidth": 2, @@ -121,7 +121,8 @@ "jsxSingleQuote": false, "bracketSpacing": true, "bracketSameLine": false, - "arrowParens": "always" + "arrowParens": "always", + "trailingComma": "es5" } ] },