tomsun28 commented on PR #3422: URL: https://github.com/apache/hertzbeat/pull/3422#issuecomment-2937977791
The Backend has some pmd error: ``` [INFO] Starting audit... Error: /home/runner/work/hertzbeat/hertzbeat/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/dto/AlibabaCloudSlsExternAlert.java:17:1: 'package' should be separated from previous line. [EmptyLineSeparator] Error: /home/runner/work/hertzbeat/hertzbeat/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/service/impl/AlibabaCloudSlsExternAlertService.java:17:1: 'package' should be separated from previous line. [EmptyLineSeparator] Error: /home/runner/work/hertzbeat/hertzbeat/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/service/impl/AlibabaCloudSlsExternAlertService.java:28:8: Unused import - org.springframework.beans.factory.annotation.Autowired. [UnusedImports] Error: /home/runner/work/hertzbeat/hertzbeat/hertzbeat-alerter/src/main/java/org/apache/hertzbeat/alert/service/impl/AlibabaCloudSlsExternAlertService.java:28:8: Unused import: org.springframework.beans.factory.annotation.Autowired. [UnusedImports] Error: /home/runner/work/hertzbeat/hertzbeat/hertzbeat-alerter/src/test/java/org/apache/hertzbeat/alert/service/AlibabaCloudSlsExternAlertServiceTest.java:17:1: 'package' should be separated from previous line. [EmptyLineSeparator] Error: /home/runner/work/hertzbeat/hertzbeat/hertzbeat-alerter/src/test/java/org/apache/hertzbeat/alert/service/AlibabaCloudSlsExternAlertServiceTest.java:38:34: Using the '.*' form of import should be avoided - org.mockito.Mockito.*. [AvoidStarImport] ``` And the webapp: ``` /home/runner/work/hertzbeat/hertzbeat/web-app/src/app/routes/alert/alert-center/alert-center.component.html 167:19 error Delete `·` prettier/prettier /home/runner/work/hertzbeat/hertzbeat/web-app/src/app/routes/alert/alert.module.ts 48:1 error There should be at least one empty line between import groups import/order 49:1 error `ngx-markdown` import should occur before import of `./alert-center/alert-center.component` import/order 49:9 error Replace `MarkdownComponent}·from·"ngx-markdown"` with `·MarkdownComponent·}·from·'ngx-markdown'` prettier/prettier ✖ 4 problems (4 errors, 0 warnings) 4 errors and 0 warnings potentially fixable with the `--fix` option. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org