Jesse Liberty
Jesse Liberty

Reputation: 1414

Is there a way to set/turn off some of the Angular lint functionality of VS Code?

I like the "lint" functionality of VSCode with Angular 4 but there are a few things I'd like to turn off. Is that something that can be done in a preference file?

Upvotes: 2

Views: 693

Answers (2)

Strake
Strake

Reputation: 762

The linting is likely coming for a tslint.json file. You can find documentation of the rules here. Adjust the rules to your liking.

Upvotes: 0

Steve Land
Steve Land

Reputation: 4862

Assuming your project is an Angular CLI project, then it will be configured to use TSLint, which you can configure by editing the tslint.json file.

You can find more info regarding how to set the configuration in the related TSLint documentation: https://palantir.github.io/tslint/usage/configuration/

Upvotes: 4

Related Questions