Giter Club home page Giter Club logo

groovestation's Introduction

React Simple Boilerplate

Already intalled and configured:

  • ESLint (airbnb)
  • Prettier
  • Stylelint (standard)
  • Husky with lint-staged

Install with npm install or yarn install

Run with npm start or yarn start

Lint with npm run lint or yarn run lint

Configure git (only for Windows)

Force git to use LF end of line everywhere:

git config --global core.eol lf
git config --global core.autocrlf input

If you've already cloned this repository, remove it and clone it again.

Configure Visual Studio Code

Install ESLint

  1. In Visual Studio Code go to View -> Extensions
  2. Search for eslint: EsLint
  3. Click Install

Install Prettier

  1. In Visual Studio Code go to View -> Extensions
  2. Search for prettier code formatter: Prettier
  3. Click Install

Install Stylelint

  1. In Visual Studio Code go to View -> Extensions
  2. Search for stylelint: Stylelint
  3. Click Install

Visual Studio Code Settings

  1. Go to File -> Preferences -> Settings.
  2. On the top right corner, click on the file icon Open Settings (JSON).
  3. Add the code below before the last closing curly brace:
{
  /* existing configurations... */

  /* began to copy setting from here */
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true,
    "source.fixAll.stylelint": true
  },
  "files.eol": "\n",
  "editor.tabSize": 2,
  /* do not copy after here */
}

You might have to close and reopen Visual Studio Code after the plugins install and setting changes.

groovestation's People

Contributors

yoannboisson avatar yavuzkutuk avatar rosko278 avatar theomuller510 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.