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

Base ESLint config for react+typescript setup

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

It's required to have tsconfig.json in root folder of the project

Install

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

Enable ESLint

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

Extend ESLint config

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

Publish

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

Current Tags

  • 0.1.0                                ...           latest (5 months ago)

8 Versions

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

Copyright 2014 - 2016 © taobao.org |