SonarQube 扫描仪在 javascript/typescript 上运行缓慢
10:33:14.808 ERROR: Unable to parse file: C:/Users/marc.donovan/wk/pos-web-framework/packages/pos-web-error-manager/src/index.js
10:33:14.811 ERROR: Parse error at line 4 column 13:
4: export type {
^
5: ErrorReport,
6: };
还有这里:
450: getTerminalAvailableKeyboardMappings$(props: { terminalId: String }): Rx.Observable<[] | void> {
最佳答案
自 SonarJS 3.2 起提供了流语法支持(可能是您的情况,而不是您所说的 typescript )。请参阅this issue .
可能您只需要更新您的插件版本。
关于javascript - SonarQube 扫描仪在 javascript 上很无聊,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46854324/