Skip to content

Improve code quality with ESLint/Prettier and Husky #65

@krisette

Description

@krisette

User Story: Improve code quality with ESLint/Prettier and Husky

Description

As a developer,
I want to integrate ESLint and Prettier for ensuring a consistent coding style and identifying potential issues,
And I want to configure Husky to run linting and formatting checks before each commit,
So that we can maintain a high standard of code quality, catch errors early, and facilitate collaborative development with a consistent coding style.

Parent Feature

Acceptance Criteria

  • ESLint is configured according to best practices and our project's specific needs.
  • Prettier is configured for automatic code formatting.
  • Husky is set up to run ESLint and Prettier as a pre-commit hook, ensuring code is linted and formatted before every commit.
  • Any existing linting errors or TypeScript type issues in the codebase are fixed.
  • Developers can easily run linting and formatting checks locally.

Definition of Done

  • All acceptance criteria are met.
  • Code is reviewed and approved by at least one other developer.
  • The setup does not cause unnecessary friction in the development workflow.
  • The application builds successfully and behaves as expected.

Metadata

Metadata

Assignees

Labels

FEFront-end workuser storyA single, actionable task focused on delivering specific user value

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions