项目作者: cgiandi

项目描述 :
CG imagine + invent dotfiles
高级语言:
项目地址: git://github.com/cgiandi/dotfiles.git
创建时间: 2017-08-09T08:08:03Z
项目社区:https://github.com/cgiandi/dotfiles

开源协议:

下载


CG imagine + invent dotfiles

These are the starter dotfiles used by cgiandi employees.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need to have Nodejs 6.x and Yarn installed to use these dotfiles.

For linux:

Installing node 6.x & yarn

  1. curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
  2. sudo apt-get update
  3. sudo apt-get install -y nodejs yarn

For macOS:

Installing homebrew

  1. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Installing node 6.x & yarn

  1. brew update
  2. brew install node@6 yarn

Installing

To use the eslint configurations you need to add the following to your project package.json

  1. yarn add eslint
  2. \eslint-config-airbnb
  3. \eslint-plugin-import
  4. \eslint-plugin-jsx-a11y
  5. \eslint-plugin-react -D

Then you need to copy the content of eslint directory to your project base directory

  1. cp -a eslint/. ~/workspace/<your_project>/

You also have to setup your code editor to use eslint as linter.