This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@rebeccastevens/tslint-rebeccastevens

0.2.6 • Public • Published

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.

Standard (default)

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"
  ]
}
Recommended

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.

Readme

Keywords

Package Sidebar

Install

npm i @rebeccastevens/tslint-rebeccastevens

Weekly Downloads

1

Version

0.2.6

License

BSD-3-Clause

Unpacked Size

33 kB

Total Files

11

Last publish

Collaborators

  • rebeccastevens