# tslint-sane

> A sane [tslint](https://palantir.github.io/tslint/) config, that attempts to provide only rules that will reduce bugs, not try and force a code style.

Latest version **1.0.4** (published 2018-04-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install tslint-sane
pnpm add tslint-sane
yarn add tslint-sane
bun add tslint-sane
```

## 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.4 |
| Published | 2018-04-24 |
| First published | 2018-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jake Taylor |
| Maintainers | jakewtaylor |

## Links

- npm: https://www.npmjs.com/package/tslint-sane
- Repository: https://github.com/jakewtaylor/tslint-sane
- npm.io page: https://npm.io/package/tslint-sane

## Recent versions

- 1.0.4 (latest) — 2018-04-24
- 1.0.3 — 2018-04-24
- 1.0.2 — 2018-04-24
- 1.0.1 — 2018-04-24
- 1.0.0 — 2018-04-24

## README

# tslint-sane

A sane [tslint](https://palantir.github.io/tslint/) config, that attempts to provide only rules that will reduce bugs, not try and force a code style.


## Install

1. Install with:

    ```shell
    npm i tslint-sane
    ```

    or using yarn

    ```shell
    yarn add tslint-sane
    ```

2. Then in your tslint config, set the extends property to `tslint-sane`.

    Examples:

    `tslint.json`
    ```JSON
    {
      "extends": "tslint-sane",
      "rules": {
         // your custom rules
      }
    }
    ```

    `tslint.yaml`
    ```YAML
    extends: tslint-sane
    rules:
      # your custom rules
    ```

## Opinionated Version

Alongside the base settings, there is an opinionated rule-set that adds in rules for styling. To use it, simply extend `tslint-sane/opinionated` instead of `tslint-sane`.


## Rules

The yaml files in the repository are commented throughout so you can easily see which rules are applied and what they do.
Some of the rules won't have any effect unless you specify a project (via the `-p`/`--project` flag) to the tslint cli:

```
tslint --project ./path/to/tsconfig.json
```
or
```
tslint -p ./path/to/tsconfig.json
```

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