From 6525fe37b5afd6c26e2f2dde8c518237e47057ed Mon Sep 17 00:00:00 2001 From: Daryl Lim Date: Wed, 6 Mar 2024 15:45:01 -0800 Subject: [PATCH] style(ui): Add ts eslint plugin to config --- frontend/.eslintrc.json | 2 +- frontend/.husky/pre-commit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json index 974f1ce9f..06ddd3283 100644 --- a/frontend/.eslintrc.json +++ b/frontend/.eslintrc.json @@ -6,7 +6,7 @@ "plugin:tailwindcss/recommended", "prettier" ], - "plugins": ["tailwindcss"], + "plugins": ["tailwindcss", "@typescript-eslint/eslint-plugin"], "rules": { "@next/next/no-html-link-for-pages": "off", "@typescript-eslint/no-unused-vars": "warn", diff --git a/frontend/.husky/pre-commit b/frontend/.husky/pre-commit index 04e39140c..8db125665 100755 --- a/frontend/.husky/pre-commit +++ b/frontend/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" cd frontend -npx lint-staged +pnpm lint-staged --quiet