You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
.prettierrc
)..eslintrc
)."format": "prettier --write ."
)."lint": "eslint . --fix"
).Expected Outcome
npm run format
should format all code files.npm run lint
should flag and fix linting issues.Additional Context
This will make the development workflow cleaner and more standardized.
The text was updated successfully, but these errors were encountered: