Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.27 KB

NOTES.md

File metadata and controls

23 lines (17 loc) · 1.27 KB

Viewing the Heroku postgres db

Code Quality

  • Ensuring high code quality is essential for long-term maintainability of the project.

ESLint

  • ESLint is a static analysis tool that helps identify problematic patterns in JavaScript/TypeScript code.
  • The ESLint configuration is extended with TypeScript recommended rules and Prettier rules, ensuring TypeScript best practices and consistent formatting.
  • The ESLint rule for Prettier is set to "warn" instead of "error". This allows Prettier formatting inconsistencies to appear as warnings, which do not break the build but still highlight areas that need attention.

Prettier

  • Prettier is an opinionated code formatter
  • The Prettier configuration defaults to .prettierrc

VSCode settings

  • The settings enable ESLint to automatically fix identified issues on save
  • ESLint is set as the default formatter for JavaScript and TypeScript files
  • Using a specific .vscode/settings.json file for these configurations allows project-specific settings without affecting the global VSCode settings.