Skip to content

alande-amorim/rocketshoes-web

Repository files navigation

$ yarn add eslint -D
$ yarn eslint --init
  ? How would you like to use ESLint? ***To check syntax, find problems, and enforce code style***
  ? What type of modules does your project use? ***JavaScript modules (import/export)***
  ? Which framework does your project use? ***React***
  ? Does your project use TypeScript? ***No***
  ? Where does your code run? ***Browser***
  ? How would you like to define a style for your project? ***Use a popular style guide***
  ? Which style guide do you want to follow? ***Airbnb: https://github.com/airbnb/javascript***
  ? What format do you want your config file to be in? ***JavaScript***
$ rm package-lock.json
$ yarn
$ yarn add prettier eslint-config-prettier eslint-plugin-prettier babel-eslint -D