Skip to content

NormantasN/books-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Books React + TypeScript + Vite

On this page:

Developer Notes

This section lists all essential information to help developers follow the best structural, syntactic, and rule-based practices.

1. Project Structure

In this project we follow Intermediate Folder Structure.

2. Pre-Commit Configuration

The command writen in .husky\pre-commit will execute before every commit, triggering: Types Check, Eslint, Prettier.

This hook ensure:

  • Consistent code style and patterns across the team,
  • Automatic flagging of ESLint recommended rules practices,
  • Code reformatting via Prettier default configuration options and some overwrite values .prettierrc.

No manual checks are needed. If the source code meets all requirements, the commit will succeed. Otherwise, the commit will be blocked, and you’ll need to resolve the issues before trying again.

3. Testing

To run the tests, use the following command:

npm run test

Or if you want details on the coverage:

npm run test:cov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published