idea导入web项目,hs报红线的问题 file->settings-editor->inspections->JavaScript and TypeScript,把对应的Description由error修改为Warning,保存即可。