# tslint-custom-rules

> A collection of custom TSLint rules, all of which are disabled by default; devs can choose which rules to enable

Latest version **1.0.3** (published 2018-02-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install tslint-custom-rules
pnpm add tslint-custom-rules
yarn add tslint-custom-rules
bun add tslint-custom-rules
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-02-28 |
| First published | 2018-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 21.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Tyler Trushin |
| Maintainers | ttrushin |

## Links

- npm: https://www.npmjs.com/package/tslint-custom-rules
- Repository: https://github.com/ttrushin/tslint-custom-rules
- npm.io page: https://npm.io/package/tslint-custom-rules

## Recent versions

- 1.0.3 (latest) — 2018-02-28
- 1.0.2 — 2018-02-28
- 1.0.1 — 2018-02-28
- 1.0.0 — 2018-02-28

## README

# tslint-custom-rules

A collection of custom TSLint rules, all of which are disabled by default; devs can choose which rules to enable

## Usage

Install:

```bash
// Yarn
yarn add tslint-custom-rules --dev

// npm
npm install tslint-custom-rules --save-dev
```

Extend the rules from your `tslint.json` file.

```json
{
  "extends": "tslint-custom-rules"
}
```

All rules are disabled by default. Enable any rules that you want to use. Example:

```json
{
  "extends": "tslint-custom-rules",
  "rules": {
    "favor-async-to-new-promises": true,
    "react-disallow-nil-in-value-props": true,
    "react-dont-mutate-props": true,
    "react-dont-mutate-state": true,
    "react-sort-jsx-element-attributes": true,
    "sort-interfaces": true
  }
}
```

---
_Source: https://npm.io/package/tslint-custom-rules · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
