Nuryagdy Mustapayev
Nuryagdy Mustapayev

Reputation: 775

Eslint errors on angular.js 1.x

on VS 2017 I am trying to build cordova app, I am getting Eslint (eqeqeq, etc) errors in angular.js file. can somebody tell me how to fix this errors?

Upvotes: 1

Views: 425

Answers (1)

smurtagh
smurtagh

Reputation: 1187

Angular uses javascript files, so ESLint is checking them based on rules in its configuration. If you don't want them, the solution is to turn off ESLint.

In VS2017:

"Tools" --> "Options", Drill into "Text Editor" --> "javascript/typescript" --> "ESLint"

Set it to false:

enter image description here

Upvotes: 1

Related Questions