From 7e0f50d6e0c7dc583d40e196c283eb20dc386ae6 Mon Sep 17 00:00:00 2001 From: Florent Date: Sat, 6 Aug 2022 15:20:43 +0200 Subject: Use single quotes in server/ and update eslint rules --- .eslintrc.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json index c2dd2fc44..770913bf1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -38,6 +38,7 @@ } } ], + "quotes": "off", "@typescript-eslint/indent": [ "error", 2, @@ -78,7 +79,14 @@ "@typescript-eslint/dot-notation": "off", "@typescript-eslint/method-signature-style": "off", "@typescript-eslint/no-base-to-string": "off", - "@typescript-eslint/quotes": "off", + "@typescript-eslint/quotes": [ + "error", + "single", + { + "avoidEscape": true, + "allowTemplateLiterals": true + } + ], "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/promise-function-async": "off", -- cgit v1.2.3