From d0e2d1a3a0ee3776ea4b12ee68f378c8805df57f Mon Sep 17 00:00:00 2001 From: kimkh05 Date: Wed, 3 Apr 2024 15:26:53 +0900 Subject: [PATCH] fix: husky setting --- package.json | 8 ++++---- tailwind.config.ts | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 52200a5..3d45dd9 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "next start", "lint": "next lint", "prepare": "husky install", - "eslint": "eslint ." + "eslint": "eslint . --ext .tsx" }, "dependencies": { "axios": "^1.6.8", @@ -43,9 +43,9 @@ "typescript": "*" }, "lint-staged": { - "*.{js,jsx,ts,tsx}": [ - "prettier --write", - "eslint --fix" + "./src/*.{js,jsx,ts,tsx}": [ + "eslint --fix", + "prettier --write" ] }, "packageManager": "yarn@4.1.1" diff --git a/tailwind.config.ts b/tailwind.config.ts index e9a0944..ef31ba7 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,20 +1,20 @@ -import type { Config } from "tailwindcss"; +import type { Config } from 'tailwindcss'; const config: Config = { content: [ - "./src/pages/**/*.{js,ts,jsx,tsx,mdx}", - "./src/components/**/*.{js,ts,jsx,tsx,mdx}", - "./src/app/**/*.{js,ts,jsx,tsx,mdx}", + './src/pages/**/*.{js,ts,jsx,tsx,mdx}', + './src/components/**/*.{js,ts,jsx,tsx,mdx}', + './src/app/**/*.{js,ts,jsx,tsx,mdx}', ], theme: { extend: { backgroundImage: { - "gradient-radial": "radial-gradient(var(--tw-gradient-stops))", - "gradient-conic": - "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))", + 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', + 'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', }, }, }, plugins: [], }; + export default config;