eslint-config-lh
Shareable ESLint configuration used at LandscapeHub.
Last updated 7 months ago by lhtech .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-config-lh 
SYNC missed versions from official npm registry.

eslint-config

Shareable ESLint configuration used at LandscapeHub.

Installation

yarn add eslint babel-eslint eslint-config-landscapehub eslint-config-airbnb eslint-loader eslint-plugin-import eslint-plugin-jsx-a11y

Usage

To use this preset, simply extend it in the project .eslintrc file. See [Configuring ESLint][Configuring ESLint] for details. Any rules can still be overridden.

{
  "extends": "landscapehub"
}

React

To install: Run the install described above, and then add the following.

yarn add eslint-plugin-react

To use this preset with React, extend it like so.

{
  "extends": "landscapehub/react"
}

Current Tags

  • 2.0.0                                ...           latest (7 months ago)

18 Versions

  • 2.0.0                                ...           7 months ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.8.0                                ...           a year ago
  • 0.7.0                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.3                                ...           2 years ago
  • 0.5.2                                ...           2 years ago
  • 0.5.1                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.4                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |