I'm using eslint on my angularjs project and I prefer using vanillajs the more I can.
With that being said, I don't get the reason of why eslint consideres the following expression as invalid and refuses it. Is using typeof
considered a bad practice?
if (typeof value === 'string') { ... } // eslint error angular/typecheck-string
Ref: https://github.com/Gillespie59/eslint-plugin-angular/blob/master/docs/rules/typecheck-string.md