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

@lego/eslint-config-jest

Purpose

This is an opinionated all-round configuration.

Installation

Install this config package:

$ npm i -D @lego/eslint-config-jest

Usage

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

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

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)

20 Versions

  • 2.0.0                                ...           18 days ago
  • 1.11.0                                ...           18 days ago
  • 1.11.0-alpha.0                                ...           22 days ago
  • 1.10.0                                ...           3 months ago
  • 1.9.1                                ...           3 months ago
  • 1.9.0                                ...           4 months ago
  • 1.8.1                                ...           4 months ago
  • 1.8.0                                ...           5 months ago
  • 1.7.1                                ...           6 months ago
  • 1.7.0                                ...           6 months ago
  • 1.6.3                                ...           7 months ago
  • 1.6.2                                ...           7 months ago
  • 1.6.0                                ...           7 months ago
  • 1.4.0                                ...           7 months ago
  • 1.3.2                                ...           7 months ago
  • 1.3.1                                ...           7 months ago
  • 1.3.0                                ...           7 months ago
  • 1.2.7                                ...           7 months ago
  • 1.2.5                                ...           7 months ago
  • 1.2.4                                ...           7 months ago
Downloads
Today 0
This Week 20
This Month 51
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |