# no-tslint-disable

> A simple CLI that checks for the existence of "tslint" in a project. If found, it fails and lists all occurrences. In most occurrences, these are likely tslint disable comments. Use the `exclude` argument to ignore occurrences in specific glob patterns.

Latest version **0.1.0** (published 2021-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install no-tslint-disable
pnpm add no-tslint-disable
yarn add no-tslint-disable
bun add no-tslint-disable
```

Provides the command `no-tslint-disable`.

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2021-10-08 |
| First published | 2021-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 33.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | andyasberry |

## Links

- npm: https://www.npmjs.com/package/no-tslint-disable
- npm.io page: https://npm.io/package/no-tslint-disable

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [gluegun](https://npm.io/package/gluegun.md) latest
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.4
- [fast-find-in-files](https://npm.io/package/fast-find-in-files.md) ^0.1.1

## Recent versions

- 0.1.0 (latest) — 2021-10-08

## README

# no-tslint-disable

A simple CLI that checks for the existence of "tslint" in a project. If found, it fails and lists all occurrences. In most occurrences, these are likely tslint disable comments. Use the `exclude` argument to ignore occurrences in specific glob patterns.

Great for keeping your code clean and free of "disable" comments; discourages deviations from your linting configuration.

## Installation

You may not need to install it as a dependency (see "Usage" below), but if you do:

### npm

```
npm install --save-dev no-tslint-disable
```

### yarn

```
yarn add -D no-tslint-disable
```

## Usage

```
npx no-tslint-disable <dir> [--exclude=glob]
```

[minimatch](https://www.npmjs.com/package/minimatch) is used for glob patterns.

## Examples

Checking your `src` directory, excluding JS config files:

```
npx no-tslint-disable src --exclude="*.config.js"
```

# License

MIT - see LICENSE

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