GithubHelp home page GithubHelp logo

nurycaroline / boilerplate-react Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 674 KB

React Boilerplate with Hooks and Redux (Eslint, Prettier e Stylelint, Webpack and others)

JavaScript 97.32% HTML 2.68%

boilerplate-react's Introduction

Boilerplate React Hooks

Project stack:

  • React
  • Redux
  • Styled Components
  • Reactotron
  • Fetch
  • Lint (Eslint, Prettier e Stylelint)
  • Precommit Lints
  • Visual Studio Code config like Chrome Debugger and Lint Integration

What do you need?

  • Node.js
  • NPM or Yarn

Working on project

Here are the commands that are used in the project:

Command Description
yarn dev Run the project in development with hot loader
yarn build Build project
yarn server Run build project in a production server

Setup of your IDE

To maintain code quality and always have a standard across all of the team's project has rules defined for javascript and css / scss. We use the Eslint / Prettier for Javascript and Stylelint for SCSS. It is necessary to integration of these rules with your favorite IDE. We recommend using Visual Studio Code with the following plugins:

Plugin README
ESlint check plugin
Prettier check plugin
stylelint check plugin

Pre-commit

Before running git commit, the rules of ESLint and Stylelint are executed. If there is an error or some non-default code of the site will generate an error and you will not be able to commit.

Git Flow

  git flow init
  git flow feature start header
  git flow feature publish header
  git flow feature finish header

boilerplate-react's People

Contributors

gersonlimadev avatar nurycaroline avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.