Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

autotslint

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autotslint

Fixes TSLint errors in source code.

latest
Source
npmnpm
Version
0.1.6
Version published
Maintainers
1
Created
Source

AutoTSLint

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

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,
        typeCheck: argv["type-check"]
    }
});

Keywords

tslint

FAQs

Package last updated on 15 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts