Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.39 KB

File metadata and controls

46 lines (29 loc) · 1.39 KB

Boilerplate

NextJs · Tailwindcss · Eslint · Prettier · Husky · Docker

Boilerplate for NextJs Tailwindcss Eslint Prettier Husky Docker

👉🏻 Dev usage

# npx mrm@2 lint-staged
yarn install
yarn dev

🐋 Docker

docker compose up

📦 Tools

  • nextjs a react framework that enables several extra features, including server-side rendering and generating static websites

  • tailwindcss a utility-first CSS framework for rapidly building custom user interfaces

  • eslint to ensure code quality

  • prettier to ensure that code is properly formatted according to the rules defined husky: makes it possible to run scripts in our package.json file on git lifecycle hooks

  • eslint-config-prettier prevents any code formatting conflicts between eslint and prettier. As we know, eslint handles both code quality and code formatting. This package disables the rule in eslint that formats code so that eslint only focuses on ensuring code quality

  • lint-staged runs defined scripts on only staged files(git)

  • husky modern native Git hooks made easy

  • docker provides the ability to package and run an application in a loosely isolated environment called a container

👨🏻‍💻 Author

Cristian Yosafat