https://github.com/blakepro/nextjs-tailwind-eslint-prettier-husky-docker
Boilerplate to create nextjs, tailwindcss with eslint, prettier, husky (git staged files) and docker
https://github.com/blakepro/nextjs-tailwind-eslint-prettier-husky-docker
docker eslint husky nextjs nextjs-boilerplate prettier tailwindcss
Last synced: 3 months ago
JSON representation
Boilerplate to create nextjs, tailwindcss with eslint, prettier, husky (git staged files) and docker
- Host: GitHub
- URL: https://github.com/blakepro/nextjs-tailwind-eslint-prettier-husky-docker
- Owner: BlakePro
- Created: 2022-08-15T04:32:17.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-17T18:32:29.000Z (almost 4 years ago)
- Last Synced: 2026-01-03T12:09:23.144Z (6 months ago)
- Topics: docker, eslint, husky, nextjs, nextjs-boilerplate, prettier, tailwindcss
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Boilerplate
NextJs · Tailwindcss · Eslint · Prettier · Husky · Docker
## 👉🏻 Dev usage
```bash
# npx mrm@2 lint-staged
yarn install
yarn dev
```
## 🐋 Docker
```bash
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](https://github.com/blakepro)