@rebeccastevens/tslint-rebeccastevens
TSLint rules I made for myself.
Last updated 5 months ago by rebeccastevens .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @rebeccastevens/tslint-rebeccastevens 
SYNC missed versions from official npm registry.

tslint-rebeccastevens

npm version travis build Coverage Status greenkeeper dependencies status dev dependencies status BSD 3 Clause license

A TSLint sharable config with custom rules I made for myself.

Install

# Install with npm:
npm install --save-dev @rebeccastevens/tslint-rebeccastevens

# Install with yarn:
yarn add -D @rebeccastevens/tslint-rebeccastevens

Usage

Choose one of the rule sets below and add it to your tslint.json file to use it.

<summary>Standard (default)</summary>

The standard rule set contains all the custom rules defined by this project with a default configuration set for each.

tslint.json config:

{
  "extends": [
    "@rebeccastevens/tslint-rebeccastevens"
  ]
}
<summary>Recommended</summary>

The recommended rule set not only contains custom rules from this project but also from many other projects as well as the default rule set.

This rule set is a useful starting point for a new project.

tslint.json config:

{
  "extends": [
    "@rebeccastevens/tslint-rebeccastevens/ruleset-recommended"
  ]
}

Custom Rules

Rules Description
no-return-readonly-array Prevents the type ReadonlyArray<T> from being returned from a function.

Current Tags

  • 0.2.6                                ...           latest (5 months ago)

16 Versions

  • 0.2.6                                ...           5 months ago
  • 0.2.5                                ...           5 months ago
  • 0.2.4                                ...           5 months ago
  • 0.2.3                                ...           6 months ago
  • 0.2.2                                ...           9 months ago
  • 0.2.1                                ...           9 months ago
  • 0.2.0                                ...           9 months ago
  • 0.2.0-beta.2                                ...           9 months ago
  • 0.2.0-beta.1                                ...           9 months ago
  • 0.1.6                                ...           10 months ago
  • 0.1.5                                ...           10 months ago
  • 0.1.4                                ...           10 months ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 51
Last Day 0
Last Week 33
Last Month 1
Dev Dependencies (29)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |