Jaishree2310 / GlassyUI-Components

GlassyUI: Elegant Glassmorphism Components for Modern UIs
https://glassyui.vercel.app
26 stars 34 forks source link

[Feat] Implement Husky to Run Prettier and ESLint Before Every Commit #23

Open abhishekHegde2000 opened 4 days ago

abhishekHegde2000 commented 4 days ago

Description: To ensure code quality and consistency, we should set up Husky to run Prettier and ESLint automatically before every commit. This will enforce our formatting and linting rules on all committed code.

Tasks:

  1. Install Dependencies:

    • Install husky and lint-staged as dev dependencies.
    • Modify package.json to include the necessary configurations.
  2. Configure Husky:

    • Set up Husky to run lint-staged before every commit.
  3. Configure lint-staged:

    • Configure lint-staged to run Prettier and ESLint on staged files.

Benefits:

abhishekHegde2000 commented 4 days ago

@Jaishree2310 Can you please Assign this task to me?

Jaishree2310 commented 4 days ago

@Jaishree2310 Can you please Assign this task to me?

Please keep giving update on your progress.