Jared
Jared

Reputation: 55

How to disable just the max-line-length tslint in VS

Is it possible to just disable just the max-line-length warning you get from the tsLint but not using: // tslint:disable-next-line:max-line-length. Is there a way this can be turned off permanently. Not the linter just that feature.

Upvotes: 3

Views: 8776

Answers (1)

deedub
deedub

Reputation: 176

In your tslint.json file, you can change the max-line-length property to the following:

max-line-length: [false]

Upvotes: 9

Related Questions