Skip to content

Add Prettier Configuration for Consistent Code Formatting #6

Description

@tesol2y090

Description

Implement Prettier as the code formatter to ensure consistent code style across the project. This will help maintain code quality and improve developer experience.

Current State

  • No standardized code formatting
  • Potential inconsistencies in code style across files
  • Manual formatting required

Proposed Changes

  1. Add Prettier and related dependencies:

    • prettier
    • prettier-plugin-tailwindcss
    • eslint-config-prettier
    • eslint-plugin-prettier
  2. Create configuration files:

    • .prettierrc with modern formatting rules
    • .prettierignore for excluded files
    • .vscode/settings.json for editor integration
  3. Add npm scripts:

    • format: Format all files
    • format:check: Check if files need formatting
  4. Update ESLint configuration to work with Prettier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions