From cfa953d96e0f5335b7568159a0f07349a5207c1f Mon Sep 17 00:00:00 2001 From: Reaper Date: Fri, 10 Jun 2022 09:55:26 +0530 Subject: [PATCH] add in few more conflicting rules --- .eslintrc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index 13e2d85..30bb1fa 100644 --- a/.eslintrc +++ b/.eslintrc @@ -13,6 +13,7 @@ }, "plugins": ["@typescript-eslint", "import", "simple-import-sort"], "extends": ["eslint:recommended"], + // To be edited as needed by the project "overrides": [ { "files": ["*.ts", "*.tsx"], // Your TypeScript files extension @@ -26,6 +27,16 @@ } ], "rules": { + // conflicting rules with prettier + "function-paren-newline": "off", + "function-call-argument-newline": "off", + "arrow-parens": "off", + "comma-dangle": "off", + "comma-spacing": "off", + "semi": "off", + "quotes": "off", + + // simple import and import "simple-import-sort/imports": "error", "simple-import-sort/exports": "error", "import/order": "off", @@ -34,9 +45,9 @@ "import/no-unresolved": "off", "import/no-absolute-path": "off", "import/named": "off", - "semi": "off", + + // basics "curly": ["error", "multi-or-nest", "consistent"], - "quotes": "off", "quote-props": ["error", "consistent-as-needed"], "array-callback-return": "error", "block-scoped-var": "error",