-
Notifications
You must be signed in to change notification settings - Fork 12
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
Setup ESLint and Prettier for Nest Frontend #78
Comments
There is a good example of how it can be done -- https://github.com/actions/typescript-action/ |
/assign |
@Yashgupta9330 can you please unassign yourself, as @arkid15r couldn't directly assign it to me due to some github glitch. thank you! |
@Yashgupta9330 could you focus on jest setup and let @tsu-ki work on this one? |
Yes, I can focus on setting up Jest for the project. I'll handle that, and @tsu-ki can work on this task. Thank you! |
@tsu-ki how is it going with getting this one done? We're pretty close to the point where we want to assemble different parts of the new frontend into one piece and the code quality tools are much needed there. |
@tsu-ki do we have any updates on this ? |
@arkid15r @yashpandey06 I'm working on it and should be done by tomorrow, I was busy with college exams so couldn't get it done earlier |
@tsu-ki great ! best of luck ! |
This task aims to set up ESLint and Prettier for the frontend of our monorepo, which is a React-based application. Proper linting and formatting will ensure consistent code quality and styling across the project.
Tasks
Install Dependencies
Setup ESLint
.eslintrc
oreslint.config.js
file with the following configuration:Setup Prettier
Create a
.prettierrc
file with the following configuration:Add a
.prettierignore
file to exclude certain files:Add Lint and Format Scripts
package.json
in the frontend package with the following scripts:Integrate Pre-Commit Hook
npx husky install npx husky add .husky/pre-commit "npx lint-staged"
lint-staged
configuration topackage.json
:Verify Setup
Update Documentation
Acceptance Criteria
Feel free to suggest additional configurations or improvements!
The text was updated successfully, but these errors were encountered: