File | Settings | JavaScript - Code Quality ToolsCtrl+Alt+S
Use the pages under this node to enable the built-in JavaScript JSLint and JSHint code verifiers and configure their behaviour.
In this part:
Language and Framework-Specific Guidelines:
Web Resources: