Skip to content
/ react-boilerplate Public template

A start point to a react app with some global configurations(ESLint, Stylelint, Deploy, etc)

Notifications You must be signed in to change notification settings

9gustin/react-boilerplate

Repository files navigation

React Boilerplate 👋⚛️

👨‍💻 How to use

git clone https://github.com/9gustin/react-boilerplate.git
cd react-boilerplate
npm install && npm start

Now you could delete .git folder and rename the folder "react-boilerplate" to "your-project-name" and it's all ;)

📦 Contains

Typescript

Reference

Scss

Reference

react-i18next

Reference

ESLint

Reference
Airbnb Config

Stylelint

Reference
Has the default config with 4 added rules:

  • Css properties must be ordered alphabetically
  • Accept max 3 classes selected together
  • Classnames must be in kebab case
  • Must use variables to font-size, colors, z-index and font-weight

Husky

Reference
Validate ESLint and Stylelint on pre-commit

Deploy

The app contains the "deploy" command. That deploy the React App to Firebase. You must have installed Firebase Cli and logged with your user. After you have to replace "PROJECT_ID" for you project id into .firebaserc. Like that:

{
  "projects": {
    "default": "my-random-project123"
  }
}

About

A start point to a react app with some global configurations(ESLint, Stylelint, Deploy, etc)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published