From 692ac869190fce2ca86bfaf5ec45ce1400bf8cdd Mon Sep 17 00:00:00 2001 From: willson Date: Wed, 20 Dec 2023 21:13:53 +0100 Subject: [PATCH] added esling single quote rule --- .eslintrc.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 0784264..90eb8cd 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -2,11 +2,12 @@ env: browser: true es2021: true extends: google -ignorePatterns: +ignorePatterns: - examples/chat-react/ parserOptions: ecmaVersion: latest sourceType: module -rules: +rules: indent: ["error", 2] space-before-function-paren: ["error", "never"] + quotes: ["error", "single"]