Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Prettier, ESLint, and Formatter Configuration #5

Open
4 of 6 tasks
abdullah4tech opened this issue Jan 31, 2025 · 0 comments
Open
4 of 6 tasks
Assignees
Labels
enhancement New feature or request

Comments

@abdullah4tech
Copy link
Owner

abdullah4tech commented Jan 31, 2025

Description

To improve code consistency and maintainability, we need to integrate Prettier for automatic formatting and ESLint for enforcing code quality in the backend-starter-cli. This will ensure that all contributors follow a consistent coding style.

Tasks:

  • Install Prettier and configure it (.prettierrc).
  • Install ESLint and set up a basic configuration (.eslintrc).
  • Ensure compatibility with the project’s current stack.
  • Add an npm script for formatting ("format": "prettier --write .").
  • Add an npm script for linting ("lint": "eslint . --fix").
  • Update the README with instructions on using Prettier and ESLint.

Expected Outcome

  • Running npm run format should format all code files.
  • Running npm run lint should flag and fix linting issues.
  • Contributors follow a uniform code style.

Additional Context

This will make the development workflow cleaner and more standardized.

@abdullah4tech abdullah4tech added the enhancement New feature or request label Jan 31, 2025
@abdullah4tech abdullah4tech self-assigned this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant