# autotslint

> Fixes TSLint errors in source code.

Latest version **0.1.6** (published 2017-02-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install autotslint
pnpm add autotslint
yarn add autotslint
bun add autotslint
```

Provides the command `autotslint`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2017-02-15 |
| First published | 2016-11-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | joshuakgoldberg@outlook.com |
| Maintainers | joshuakgoldberg |
| Keywords | tslint, lint, typescript, automutate, linter, clean, code, quality |

## Links

- npm: https://www.npmjs.com/package/autotslint
- Repository: https://github.com/autolint/autotslint
- Homepage: https://github.com/autolint/autotslint#readme
- Issues: https://github.com/autolint/autotslint/issues
- npm.io page: https://npm.io/package/autotslint

## Dependencies (3)

- [tslint](https://npm.io/package/tslint.md) ^4.4.2
- [optimist](https://npm.io/package/optimist.md) ^0.6.1
- [automutate](https://npm.io/package/automutate.md) 0.5.X

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.1.6 (latest) — 2017-02-15
- 0.1.5 — 2017-02-14
- 0.1.4 — 2017-02-13
- 0.1.3 — 2017-02-13
- 0.1.1 — 2016-11-24
- 0.1.0 — 2016-11-24

## README

# AutoTSLint

Applies fix suggestions reported by [TSLint](https://github.com/palantir/tslint), accounting for file conflicts and multiple waves of fixes.

## CLI Usage

```cmd
npm install -g autotslint tslint typescript
autotslint [files...]
```

## Structure

This project uses [automutate](https://github.com/automutate/automutate) to take in waves of [TSLint](https://github.com/palantir/tslint) fix suggestions for rule violations, and fixes them. Running via the CLI is done by [autotslint-cli](https://github.com/automutate/autotslint-cli).

### Code Usage

```typescript
import { AutoTslinter } from "autotslint/lib/index";

const autoTslinter = new AutoTslinter({
    linter: {
        config: argv.c,
        exclude: argv.exclude,
        files: argv._,
        project: argv.project,
        rulesDirectory: argv.r,
        typeCheck: argv["type-check"]
    }
});
```

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