The js project just pulled from the library was opened with idea, and there were red wavy lines everywhere.
Solution:
Red flags in large areas are generally false warnings caused by different language versions.
The project is ES6 syntax, and the default js of my idea is ES5 syntax. Just change the language version.
Specific method:
File->Settings->Languages&Frameworks->JavaScript
switch JavaScript language version->ECMAScript 6
After clicking OK to confirm, wait for the progress bar below to complete the compilation and it will be normal.