From 3768758c7e64f012b234e5981946e43a9d910201 Mon Sep 17 00:00:00 2001 From: Ellen Kraffmiller Date: Mon, 6 Nov 2023 20:03:09 -0500 Subject: [PATCH] fix: lint error --- .eslintrc.json | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 738711a1a..92efb046e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,12 +5,7 @@ }, "import/resolver": { "node": { - "extensions": [ - ".js", - ".jsx", - ".ts", - ".tsx" - ] + "extensions": [".js", ".jsx", ".ts", ".tsx"] } } }, @@ -41,12 +36,7 @@ "./packages/design-system/tests/tsconfig.json" ] }, - "plugins": [ - "react", - "simple-import-sort", - "import", - "unused-imports" - ], + "plugins": ["react", "simple-import-sort", "import", "unused-imports"], "rules": { "@typescript-eslint/no-unused-vars": "off", "react/prop-types": "off", @@ -63,9 +53,7 @@ "@typescript-eslint/no-empty-function": [ "error", { - "allow": [ - "arrowFunctions" - ] + "allow": ["arrowFunctions"] } ], "react/react-in-jsx-scope": "off", @@ -83,10 +71,7 @@ }, "overrides": [ { - "files": [ - "**/e2e/**/*.spec.ts", - "**/component/**/*.spec.tsx" - ], + "files": ["**/e2e/**/*.spec.ts", "**/component/**/*.spec.tsx"], "rules": { "testing-library/await-async-query": 0, "@typescript-eslint/no-unsafe-member-access": 0, @@ -95,8 +80,5 @@ } } ], - "ignorePatterns": [ - "packages/design-system/dist/**", - "dev-env/vite.config.ts" - ] + "ignorePatterns": ["packages/design-system/dist/**", "dev-env/vite.config.ts"] }