# @typescript-eslint/ban-tslint-comment

> Disallow `// tslint:disable` and `// tslint:enable` comments

TSLint is no longer maintained. Once a project has moved off it, its `tslint:disable` and `tslint:enable` comments do nothing, but they look like they still turn something off.

`--fix` removes the comment.

{/* Generated by src/codegen/lint-rule-docs.ts. Do not edit this section. */}

## Configure

Off by default. To turn it on:

```toml bunfig.toml
[lint.rules]
"@typescript-eslint/ban-tslint-comment" = "error" # or "warn"
```

{/* End of the generated section. */}

## Examples

Reported:

{/* bad {"count": 2} */}
```ts
/* tslint:disable */
const port = 3000;
console.log(port); // tslint:disable-line:no-console
```

Not reported:

{/* good */}
```ts
const port = 3000;
console.log(port); // the tslint config is gone
```
