0.2.6 • Published 5 years ago

@rebeccastevens/tslint-rebeccastevens v0.2.6

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
5 years ago

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.

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

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

RulesDescription
no-return-readonly-arrayPrevents the type ReadonlyArray<T> from being returned from a function.
0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.2.0-beta.2

6 years ago

0.2.0-beta.1

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago