React, Prettier, ESlint, Husky 및 GitHub Actions용 AirBnB 스타일 가이드로 Nextjs 설정
내 워크플로
miami78 / nextjs-스타터 팩
다음 🦄 프로젝트를 빌드하는 데 필요한 모든 것을 포함하는 Next.js용 JavaScript 스타터입니다.
다음 🦄 프로젝트를 빌드하는 데 필요한 모든 것이 포함된 Next.js용 JavaScript 스타터입니다.
사용 기술
또한 다음이 포함됩니다.
시작하기1. git clone https://github.com/miami78/nextjs-starter-pack.git
2. cd nextjs-starter-pack
3. yarn && yarn dev or npm install && npm run dev if you prefer not to use yarn.
용법
개발 서버
yarn start / npm start
1. git clone https://github.com/miami78/nextjs-starter-pack.git
2. cd nextjs-starter-pack
3. yarn && yarn dev or npm install && npm run dev if you prefer not to use yarn.
개발 서버
yarn start / npm start
You can view the development server at localhost:3000
.
생산 빌드
yarn build / npm run build
기여
- Fork this repository;
- Create your branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
Made by Larry Miami
제출 카테고리:
Maintainer Must-Haves
Yaml 파일
name: Code quality
on: push
jobs:
code-quality:
name: Lint source code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: yarn
- name: Run Prettier
run: yarn prettier --ignore-path .prettierignore --write .
- name: Run ESLint
run: yarn eslint '**/*.js' --report-unused-disable-directives
Reference
이 문제에 관하여(React, Prettier, ESlint, Husky 및 GitHub Actions용 AirBnB 스타일 가이드로 Nextjs 설정), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/miami/setting-up-nextjs-with-airbnb-style-guides-for-react-prettier-eslint-husky-and-github-actions-4377텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)