Skip to content

Start your new React application with create-react-app, eslint, airbnb style guide, prettier, husky, lint-staged, and commitizen

Notifications You must be signed in to change notification settings

danielh016/react-airbnb-lint-husky-commitizen

Repository files navigation

React Airbnb Lint Husky Commitizen

Commitizen friendly

This project is a combination of various useful tools that helps setup a standardized coding style among the team. Feel free to clone and start your next React application with this setup. This project was bootstrapped with Create React App.

The tools included:

  • ESLint with Airbnb Style Guide as the major lint configuration
  • Prettier which collaborates with ESLint and handles the coding style issues (while ESLint handles code quality issues)
  • Husky that helps with Git hooks related issues
  • Lint-staged which runs the linting and prettier commands by the developer git commits
  • Commitizen which assists the developers working on this project to write commit messages in the same style

Before you start

Although most of the configurations were setup for you, there is still one thing that was required. Please run

$ yarn global add commitizen
OR
$ npm install -g commitizen

to make sure commitizen works on your device.

To start

Right before you start implementing, please do either yarn install or npm install (choose one of them, of course) to install all the dependencies After all the dependencies were install (in /node_modules), you can start playing with your application with yarn start

To know more:

You can read on this article: 中文版

About

Start your new React application with create-react-app, eslint, airbnb style guide, prettier, husky, lint-staged, and commitizen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published