Please try disabling JSCS support by clearing Enable checkbox in Settings | Languages & Frameworks | JavaScript | Code Quality Tools | JSCS - can you still see the error? Also, from screenshot it seems that ES6 syntax in your file is not accepted; please make sure to switch Javascript Language version ( Settings | Languages & Frameworks | JavaScript ) to ECMAScript 6
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.