@lego/eslint-config
LEGO shareable eslint config for ts projects
Last updated 18 days ago by vincentbriglia .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @lego/eslint-config 
SYNC missed versions from official npm registry.

@lego/eslint-config

Purpose

This is an opinionated all-round configuration.

Installation

Install this config package:

$ npm i -D @lego/eslint-config

Usage

Extend your eslint.json, and make sure @lego/eslint-config has been added:

{
  "extends": ["@lego/eslint-config"]
}

Note: if you want to use TypeScript don't use @lego/eslint-config, use @lego/eslint-config-typescript instead.

Overriding Rules

With the above eslint.json configuration example, you can still use or override already defined rules as such:

{
  "extends": "@lego/eslint-config",
  "rules": {
    "camelcase": "warn"
  }
}

It's recommended to inspect the defined rule's configurations where the reasoning for the configuration lives. If a configuration could benefit more than just the project you're working on, feel free to create a pull request.

Current Tags

  • 2.0.0                                ...           latest (18 days ago)

24 Versions

  • 2.0.0                                ...           18 days ago
  • 1.9.0                                ...           18 days ago
  • 1.9.0-alpha.0                                ...           22 days ago
  • 1.8.0                                ...           3 months ago
  • 1.7.1                                ...           3 months ago
  • 1.7.0                                ...           4 months ago
  • 1.6.1                                ...           4 months ago
  • 1.6.0                                ...           5 months ago
  • 1.5.2                                ...           5 months ago
  • 1.5.1                                ...           6 months ago
  • 1.5.0                                ...           6 months ago
  • 1.4.0                                ...           7 months ago
  • 1.2.11                                ...           7 months ago
  • 1.2.10                                ...           7 months ago
  • 1.2.9                                ...           7 months ago
  • 1.2.8                                ...           7 months ago
  • 1.2.7                                ...           7 months ago
  • 1.2.6                                ...           7 months ago
  • 1.2.4                                ...           7 months ago
  • 1.2.3                                ...           7 months ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.2                                ...           a year ago
Downloads
Today 0
This Week 24
This Month 66
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |