PostureOfLearning
PostureOfLearning

Reputation: 3541

ignoring jshint Unnecessary semicolon error

I am using jshint which gives me the error "Unnecessary semicolon". I do not control the file in question and I would like to ignore this error. I am not able to find any such option on the jshint doc page

Upvotes: 4

Views: 1873

Answers (1)

PostureOfLearning
PostureOfLearning

Reputation: 3541

Turns out you can ignore any error message by setting an option for specific error numbers:

"-W032": true

Upvotes: 5

Related Questions