frontend/CONTRIBUTIONS.md
Embrace the spirit of collaboration and contribute to the success of our open-source project by adhering to these frontend development guidelines with precision and passion.
src/components/, src/container/, src/pages/): Prefer default exports for the main component in each filesrc/utils/, src/hooks/, src/api/, src/lib/, src/types/, src/constants/): Prefer named exports for better tree-shaking and explicit importsReact as the project is using v18 and import React from 'react' is not needed anymore.Note - In our project, we are utilizing React Query v3. To gain a comprehensive understanding of its features and implementation, we recommend referring to the official documentation as a valuable resource.
It is crucial to refrain from disabling ESLint and TypeScript errors within the project. If there is a specific rule that needs to be disabled, provide a clear and justified explanation for doing so. Maintaining the integrity of the linting and type-checking processes ensures code quality and consistency throughout the codebase.
In our project, we rely on several essential ESLint plugins and configurations:
To ensure compliance with our coding standards and best practices, we encourage you to refer to the documentation of these plugins. Familiarizing yourself with the ESLint rules they provide will help maintain code quality and consistency throughout the project.