-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request