Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.
/ autotslint Public archive

[Exprimental] Automagically fixes TSLint rule failures.

License

Notifications You must be signed in to change notification settings

automutate/autotslint

Repository files navigation

AutoTSLint

Applies fix suggestions reported by TSLint, accounting for file conflicts and multiple waves of fixes.

Experimental!

CLI Usage

npm install -g autotslint tslint typescript
autotslint [files...]

Structure

This project uses automutate to take in waves of TSLint fix suggestions for rule violations, and fixes them. Running via the CLI is done by autotslint-cli.

Code Usage

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,
    }
});

About

[Exprimental] Automagically fixes TSLint rule failures.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published