Dev Conventions
  • Dev Conventions
  • Git
    • Branch Flow
    • Conventional Commits
    • Pull requests template
    • Before making the PRs in typescript, keep in mind
  • Typescript
    • Introduction
    • Good practices
    • Solid
    • Using pnpm for Package Management
    • NestJs
    • NextJs
    • React
    • NestJs Testing
    • React Testing
    • Npm Registry
  • PYTHON
    • Introduction
    • Good practices
    • Testing
    • Naming Convention
  • DevOps
    • Introduction
    • Github Actions
    • Creating a Github Actions Workflow
  • Agile
    • Story Points
Powered by GitBook
On this page
  1. Git

Before making the PRs in typescript, keep in mind

Sure, here is the translation:


💡 Before making a Pull Request (PR), keep the following recommendations in mind

  1. Synchronization with the Development Branch: Before making the PR, make sure to pull the changes from the DEV branch to avoid conflicts when integrating the PR.

  2. Code Formatting:

    • Run Prettier to ensure your code meets style standards.

    npx prettier --fix **/{src,test}/**/*.{ts,tsx}
    • Run ESLint to ensure your code meets formatting standards.

    npx eslint --fix **/{src,test}/**/*.{ts,tsx}
    • Run TypeScript to ensure your code meets formatting standards.

    npx tsc -p tsconfig.json --noEmit
  3. Code Compilation: Ensure your code compiles correctly before making the PR.

  4. After meeting the above requirements, use the following template to create the Pull Request (PR): Pull requests template

PreviousPull requests templateNextIntroduction

Last updated 11 months ago