@ganapativs/eslint-config-react
Base ESLint config for react setup
Last updated 5 months ago by ganapativs .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ganapativs/eslint-config-react 
SYNC missed versions from official npm registry.

Base ESLint config for react setup

Automagically add ESLint support to react setup by adding this package.

Install

yarn add eslint @ganapativs/eslint-config-react --dev

Enable ESLint

// Tell editor to use eslint config from '@ganapativs/eslint-config-react'
// package.json
{
    // ...
    "eslintConfig": {
      "extends": "@ganapativs/react"
    },
    // ...
}

Extend ESLint config

# create `.eslintrc` in root folder of the service
# .eslintrc
{
    "extends": "@ganapativs/react",
    "rules": {
        # custom rules here
    }
}

Publish

# Scoped packages are private by default
npm publish --access public

Current Tags

  • 0.0.9                                ...           latest (5 months ago)

7 Versions

  • 0.0.9                                ...           5 months ago
  • 0.0.8                                ...           5 months ago
  • 0.0.7                                ...           8 months ago
  • 0.0.6                                ...           8 months ago
  • 0.0.4                                ...           8 months ago
  • 0.0.3                                ...           10 months ago
  • 0.0.2                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 7
Last Month 1
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |