Skip to content

ustudio/eslint-config-ustudio

Repository files navigation

Install

npm install --save-dev git+ssh://[email protected]/ustudio/eslint-config-ustudio.git

This will automatically install eslint and eslint-plugin-react.

Configuration

Add the following to your package.json:

{
  eslintConfig: {
    "extends": "ustudio"
  },
  "scripts": {
    "lint": "eslint ."
  }

Usage

Execute the following command:

npm run lint

Lint in CI

Add the following to your circle.yml:

test:
  pre:
    - npm run lint