From 8b4e586b7c324126cc7fd359b8a6a09972e14972 Mon Sep 17 00:00:00 2001 From: Francis Li Date: Sat, 18 Nov 2023 13:35:17 -0800 Subject: [PATCH] Fix prettier issue --- .eslintrc.json | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 6b1ba02f..c9c13856 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,18 +1,10 @@ { "parser": "@typescript-eslint/parser", - "extends": [ - "next/core-web-vitals", - "plugin:storybook/recommended" - ], - "ignorePatterns": [ - "*.json" - ], + "extends": ["next/core-web-vitals", "plugin:storybook/recommended"], + "ignorePatterns": ["*.json"], "overrides": [ { - "files": [ - "*.ts", - "*.tsx" - ], + "files": ["*.ts", "*.tsx"], "extends": [ "eslint:recommended", "plugin:@next/next/recommended", @@ -20,9 +12,7 @@ "plugin:@typescript-eslint/recommended-requiring-type-checking" ], "parserOptions": { - "project": [ - "./tsconfig.json" - ] + "project": ["./tsconfig.json"] }, "rules": { "@typescript-eslint/no-non-null-assertion": "off", @@ -31,13 +21,8 @@ } ], "rules": { - "@next/next/no-html-link-for-pages": [ - "error", - "src/pages/" - ] + "@next/next/no-html-link-for-pages": ["error", "src/pages/"] }, - "plugins": [ - "@typescript-eslint" - ], + "plugins": ["@typescript-eslint"], "root": true }