Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 2.3.0 build failed on Windows Agent #557

Closed
peterzhuamazon opened this issue Sep 14, 2022 · 9 comments · Fixed by #570
Closed

[BUG] 2.3.0 build failed on Windows Agent #557

peterzhuamazon opened this issue Sep 14, 2022 · 9 comments · Fixed by #570
Assignees
Labels
bug Something isn't working windows

Comments

@peterzhuamazon
Copy link
Member

We have already enabled long path support on this windows agent.
So it is not related to the 260 max char API issues on Windows.
It is something else that is similar to indentation formatting feature in kt I think.

+ ./gradlew publishPluginZipPublicationToZipStagingRepository -Dopensearch.version=2.3.0-SNAPSHOT -Dbuild.snapshot=true -Dbuild.version_qualifier=

Starting a Gradle Daemon, 2 incompatible and 5 stopped Daemons could not be reused, use --status for details

=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 7.4.2
  OS Info               : Windows Server 2019 10.0 (amd64)
  JDK Version           : 17 (Eclipse Temurin JDK)
  JAVA_HOME             : C:\Users\Administrator\jenkins\tools\hudson.model.JDK\openjdk-17
  Random Testing Seed   : 69899E441CF416DE
  In FIPS 140 mode      : false
=======================================

> Task :ktlint
C:\Users\Administrator\AppData\Local\Temp\tmp7ezrd274\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:40:1: Exceeded max line length (140) (cannot be auto-corrected) (max-line-length)
C:\Users\Administrator\AppData\Local\Temp\tmp7ezrd274\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:42:1: Exceeded max line length (140) (cannot be auto-corrected) (max-line-length)
C:\Users\Administrator\AppData\Local\Temp\tmp7ezrd274\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:63:1: Exceeded max line length (140) (cannot be auto-corrected) (max-line-length)
C:\Users\Administrator\AppData\Local\Temp\tmp7ezrd274\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:65:1: Exceeded max line length (140) (cannot be auto-corrected) (max-line-length)

> Task :ktlint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ktlint'.
> Process 'command 'C:\Users\Administrator\jenkins\tools\hudson.model.JDK\openjdk-17\bin\java.exe'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org/

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 30s
1 actionable task: 1 executed
2022-09-14 21:50:00 ERROR    Error building alerting, retry with: ./build.sh manifests/2.3.0/opensearch-2.3.0.yml --component alerting --snapshot
@bbarani
Copy link
Member

bbarani commented Sep 19, 2022

@praveensameneni @lezzago Can you please provide your inputs here?

@qreshi
Copy link
Contributor

qreshi commented Sep 19, 2022

Just looks like a linter issue. The lines specified can be updated to not exceed the maximum to fix that error. Not sure why it hasn't failed in the CI before, are we skipping it there?

@peterzhuamazon You can try excluding the task and seeing if it succeeds without it for now by adding -x ktlint as an argument in the ./gradlew call.

@sbcd90
Copy link
Collaborator

sbcd90 commented Sep 20, 2022

looks like the issue is not reproducible on linux. this could be due to inconsistencies in ktlint behavior in different OS environments.

@praveensameneni
Copy link
Member

@peterzhuamazon , can we close this issue?

@peterzhuamazon
Copy link
Member Author

@qreshi @sbcd90 what would be the consequences if we disable ktlint with -x ktlint?

@peterzhuamazon
Copy link
Member Author

@peterzhuamazon , can we close this issue?

Hi @praveensameneni Lets make sure disable ktlint wont cause any issues, or just fix it for windows before closing this.
Thanks.

@peterzhuamazon
Copy link
Member Author

Also this only shows in the 2.3.0 not in 1.3.5 for alerting.

@peterzhuamazon
Copy link
Member Author

According to this post seems like the 0.47.0 version of ktlint has fixed such issues:

@peterzhuamazon
Copy link
Member Author

ktlint 0.47.0 logs

$  ./gradlew publishPluginZipPublicationToZipStagingRepository -Dopensearch.version=2.3.0-SNAPSHOT -Dbuild.snapshot=true -Dbuild.version_qualifier=
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 7.4.2
  OS Info               : Windows Server 2019 10.0 (amd64)
  JDK Version           : 17 (Eclipse Temurin JDK)
  JAVA_HOME             : C:\Users\Administrator\scoop\apps\temurin17-jdk\17.0.4-101
  Random Testing Seed   : AC8BCD40FA9D591C
  In FIPS 140 mode      : false
=======================================

> Task :ktlint
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\AcknowledgeAlertResponse.kt:50:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\ExecuteMonitorRequest.kt:41:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetAlertsResponse.kt:20:5: Declarations and declarations with comments should have an empty space between. (spacing-between-declarations-with-comments)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetDestinationsRequest.kt:43:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetDestinationsResponse.kt:20:5: Declarations and declarations with comments should have an empty space between. (spacing-between-declarations-with-comments)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetEmailAccountRequest.kt:41:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetEmailAccountResponse.kt:55:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetEmailAccountResponse.kt:81:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetEmailGroupRequest.kt:41:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetEmailGroupResponse.kt:55:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetEmailGroupResponse.kt:81:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetMonitorRequest.kt:41:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetMonitorResponse.kt:55:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\action\GetMonitorResponse.kt:81:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregator.kt:139:21: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregator.kt:139:39: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregator.kt:139:61: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtFilter.kt:23:5: Declarations and declarations with comments should have an empty space between. (spacing-between-declarations-with-comments)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:122:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:123:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:124:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:125:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:126:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:127:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:128:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:129:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:130:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:131:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertingPlugin.kt:132:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertError.kt:41:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:137:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:140:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:143:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:146:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:149:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:251:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:377:43: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:378:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:379:34: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:379:54: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:385:45: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:386:44: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:387:36: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertIndices.kt:387:58: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertMover.kt:110:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\alerts\AlertMover.kt:111:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:147:48: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:147:71: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:148:48: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:156:37: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:156:73: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:157:48: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:274:48: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:274:71: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:322:32: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:408:31: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\AlertService.kt:409:29: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\BucketLevelMonitorRunner.kt:123:30: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\BucketLevelMonitorRunner.kt:123:39: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\BucketLevelMonitorRunner.kt:123:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\BucketLevelMonitorRunner.kt:160:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\BucketLevelMonitorRunner.kt:200:48: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\BucketLevelMonitorRunner.kt:200:55: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\BucketLevelMonitorRunner.kt:200:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\BucketLevelMonitorRunner.kt:227:25: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\BucketLevelMonitorRunner.kt:240:28: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\DocumentLevelMonitorRunner.kt:107:82: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\DocumentLevelMonitorRunner.kt:108:14: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\DocumentLevelMonitorRunner.kt:419:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\InputService.kt:71:52: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\InputService.kt:72:60: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\InputService.kt:134:40: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\InputService.kt:135:45: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\action\Action.kt:142:102: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\action\Action.kt:143:29: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\AggregationResultBucket.kt:67:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\AggregationResultBucket.kt:68:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\Alert.kt:50:35: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\Alert.kt:145:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\Alert.kt:222:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\Alert.kt:225:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\AlertingConfigAccessor.kt:37:43: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\AlertingConfigAccessor.kt:38:36: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\AlertingConfigAccessor.kt:46:24: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\AlertingConfigAccessor.kt:50:24: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\BucketLevelTrigger.kt:96:34: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\destination\Chime.kt:67:20: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\destination\CustomWebhook.kt:141:20: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\destination\Destination.kt:138:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\destination\Destination.kt:229:24: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\destination\Destination.kt:244:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\destination\email\Email.kt:91:20: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\destination\email\EmailAccount.kt:87:13: Declarations and declarations with comments should have an empty space between. (spacing-between-declarations-with-comments)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\destination\Slack.kt:67:20: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\DocumentLevelTrigger.kt:94:34: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\DocumentLevelTrigger.kt:98:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\DocumentLevelTrigger.kt:98:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\Finding.kt:90:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\FindingDocument.kt:60:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\Monitor.kt:111:16: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\Monitor.kt:190:36: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\Monitor.kt:191:18: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\Monitor.kt:272:33: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\MonitorMetadata.kt:57:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\MonitorMetadata.kt:108:26: Unnecessary trailing comma before ")" (trailing-comma-on-call-site)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\MonitorRunResult.kt:104:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\QueryLevelTrigger.kt:71:29: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\QueryLevelTrigger.kt:71:49: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\QueryLevelTrigger.kt:91:34: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\QueryLevelTrigger.kt:127:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\model\QueryLevelTrigger.kt:127:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\MonitorRunner.kt:60:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\MonitorRunner.kt:61:18: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\MonitorRunner.kt:172:21: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\MonitorRunner.kt:174:21: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\MonitorRunner.kt:178:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\QueryLevelMonitorRunner.kt:76:29: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\resthandler\RestDeleteMonitorAction.kt:26:1: Declarations and declarations with comments should have an empty space between. (spacing-between-declarations-with-comments)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\resthandler\RestIndexMonitorAction.kt:131:21: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\resthandler\RestSearchEmailAccountAction.kt:96:61: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\resthandler\RestSearchEmailGroupAction.kt:96:61: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\resthandler\RestSearchMonitorAction.kt:131:65: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\script\QueryLevelTriggerExecutionContext.kt:31:18: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\script\QueryLevelTriggerExecutionContext.kt:31:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\script\QueryLevelTriggerExecutionContext.kt:31:66: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\script\QueryLevelTriggerExecutionContext.kt:31:96: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\script\QueryLevelTriggerExecutionContext.kt:32:16: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\script\TriggerExecutionContext.kt:23:22: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\script\TriggerExecutionContext.kt:23:61: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\script\TriggerExecutionContext.kt:24:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\script\TriggerScript.kt:20:9: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:27:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:33:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:39:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:45:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:51:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:57:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:63:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:69:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:75:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:83:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:89:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:95:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:101:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:107:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:113:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:120:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:120:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:126:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:132:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:138:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:144:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:150:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\AlertingSettings.kt:157:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:26:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:26:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:32:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:32:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:38:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:38:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:44:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:44:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:50:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:50:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:56:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:56:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:62:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:62:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:68:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:68:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:74:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:74:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:80:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:80:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:86:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:86:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:93:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:93:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:99:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:99:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:105:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:105:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:111:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:111:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:117:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:117:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:123:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\LegacyOpenDistroAlertingSettings.kt:123:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\SupportedClusterMetricsSettings.kt:62:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\settings\SupportedClusterMetricsSettings.kt:136:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\SecureTransportAction.kt:84:96: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\SecureTransportAction.kt:116:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportAcknowledgeAlertAction.kt:59:34: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportAcknowledgeAlertAction.kt:59:52: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportAcknowledgeAlertAction.kt:59:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportAcknowledgeAlertAction.kt:112:39: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportAcknowledgeAlertAction.kt:113:36: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportAcknowledgeAlertAction.kt:147:21: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportAcknowledgeAlertAction.kt:150:22: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportAcknowledgeAlertAction.kt:152:21: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportAcknowledgeAlertAction.kt:155:22: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportDeleteMonitorAction.kt:51:31: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportDeleteMonitorAction.kt:51:49: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportDeleteMonitorAction.kt:51:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportDeleteMonitorAction.kt:113:47: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportDeleteMonitorAction.kt:114:56: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportExecuteMonitorAction.kt:57:32: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportExecuteMonitorAction.kt:57:50: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportExecuteMonitorAction.kt:57:65: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportExecuteMonitorAction.kt:62:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportExecuteMonitorAction.kt:105:55: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportExecuteMonitorAction.kt:106:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetAlertsAction.kt:52:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetAlertsAction.kt:52:45: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetAlertsAction.kt:52:60: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetAlertsAction.kt:80:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetAlertsAction.kt:83:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetAlertsAction.kt:148:47: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetAlertsAction.kt:149:44: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetDestinationsAction.kt:55:33: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetDestinationsAction.kt:55:51: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetDestinationsAction.kt:55:66: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetDestinationsAction.kt:91:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetDestinationsAction.kt:94:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:45:33: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:45:51: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:45:66: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:59:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:92:51: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:93:60: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:101:46: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:101:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:101:80: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailAccountAction.kt:102:48: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:45:31: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:45:49: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:45:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:59:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:92:51: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:93:60: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:101:46: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:101:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:101:80: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetEmailGroupAction.kt:102:48: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetFindingsAction.kt:1:1: File 'TransportGetFindingsAction.kt' contains a single class and possibly also extension functions for that class and should be named same after that class 'TransportGetFindingsSearchAction.kt' (cannot be auto-corrected) (filename)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetFindingsAction.kt:61:29: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetFindingsAction.kt:61:47: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetFindingsAction.kt:61:62: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetFindingsAction.kt:96:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetMonitorAction.kt:44:28: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetMonitorAction.kt:44:46: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetMonitorAction.kt:44:61: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetMonitorAction.kt:86:51: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportGetMonitorAction.kt:87:60: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:90:30: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:90:48: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:90:63: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:95:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:96:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:97:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:98:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:99:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:139:75: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:140:18: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:266:65: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:266:89: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:287:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:371:92: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:434:43: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:434:66: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:435:52: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:435:72: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:471:39: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:472:51: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:489:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:546:43: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:546:66: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:547:52: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:547:72: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:569:21: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:576:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:577:18: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:578:104: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportIndexMonitorAction.kt:579:18: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchEmailAccountAction.kt:33:36: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchEmailAccountAction.kt:33:54: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchEmailAccountAction.kt:33:69: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchEmailAccountAction.kt:43:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchEmailGroupAction.kt:33:34: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchEmailGroupAction.kt:33:52: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchEmailGroupAction.kt:33:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchEmailGroupAction.kt:43:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchMonitorAction.kt:36:31: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchMonitorAction.kt:36:49: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\transport\TransportSearchMonitorAction.kt:36:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\triggercondition\parsers\TriggerExpressionParser.kt:33:28: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\triggercondition\parsers\TriggerExpressionRPNBaseParser.kt:45:33: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\triggercondition\parsers\TriggerExpressionRPNBaseParser.kt:68:21: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\triggercondition\parsers\TriggerExpressionRPNBaseParser.kt:81:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\triggercondition\parsers\TriggerExpressionRPNBaseParser.kt:84:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\destinationmigration\DestinationConversionUtils.kt:100:29: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\destinationmigration\DestinationConversionUtils.kt:101:30: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\destinationmigration\DestinationMigrationUtilService.kt:208:29: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\destinationmigration\NotificationApiUtils.kt:174:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\destinationmigration\NotificationApiUtils.kt:174:54: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\destinationmigration\NotificationApiUtils.kt:175:54: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\destinationmigration\NotificationApiUtils.kt:176:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\DocLevelMonitorQueries.kt:131:125: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\IndexUtils.kt:69:53: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\RestHandlerUtils.kt:24:12: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\main\kotlin\org\opensearch\alerting\util\SupportedClusterMetricsSettingsExtensions.kt:120:47: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\AcknowledgeAlertResponseTests.kt:21:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\DeleteMonitorRequestTests.kt:17:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\ExecuteMonitorRequestTests.kt:19:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetAlertsRequestTests.kt:16:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetAlertsRequestTests.kt:34:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetDestinationsRequestTests.kt:17:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetDestinationsRequestTests.kt:34:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetDestinationsRequestTests.kt:51:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetDestinationsRequestTests.kt:68:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetEmailAccountRequestTests.kt:17:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetEmailAccountRequestTests.kt:32:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetEmailAccountResponseTests.kt:17:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetEmailAccountResponseTests.kt:32:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetEmailGroupRequestTests.kt:17:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetEmailGroupRequestTests.kt:32:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetEmailGroupResponseTests.kt:17:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetEmailGroupResponseTests.kt:32:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetMonitorRequestTests.kt:17:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetMonitorRequestTests.kt:32:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\GetMonitorRequestTests.kt:47:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:20:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:22:21: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:22:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:22:29: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:22:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:39:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:41:21: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:41:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:41:29: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\action\IndexMonitorRequestTests.kt:41:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\ADTestHelpers.kt:505:57: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\ADTestHelpers.kt:506:82: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregationBuilderTests.kt:40:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregationBuilderTests.kt:46:19: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregationBuilderTests.kt:47:21: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregationBuilderTests.kt:47:39: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:53:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:90:22: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:107:24: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:150:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:167:24: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:171:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:188:24: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:214:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:231:24: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:258:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:275:24: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:304:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\aggregation\bucketselectorext\BucketSelectorExtAggregatorTests.kt:323:24: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:108:21: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:108:60: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:114:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:128:23: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:128:76: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:151:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:183:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:233:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:293:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:319:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:337:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:351:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:456:21: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:457:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:462:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:491:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:492:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:625:21: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:626:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:682:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:744:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:763:24: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:1016:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:1030:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:1044:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertingRestTestCase.kt:1058:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\alerts\AlertIndicesIT.kt:343:21: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\alerts\AlertIndicesIT.kt:343:66: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertServiceTests.kt:105:22: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertServiceTests.kt:137:22: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertServiceTests.kt:164:22: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertServiceTests.kt:190:22: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertServiceTests.kt:197:28: Unnecessary trailing comma before ")" (trailing-comma-on-call-site)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertServiceTests.kt:217:26: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertServiceTests.kt:217:35: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertServiceTests.kt:217:81: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\AlertServiceTests.kt:218:81: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:26:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:58:21: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:95:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:128:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:181:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:191:21: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:244:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:254:21: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:298:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:363:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:411:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:413:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:450:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:452:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:503:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:505:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:564:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\DocumentMonitorRunnerIT.kt:566:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\model\AlertTests.kt:46:46: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\model\AlertTests.kt:50:54: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\model\EmailGroupTests.kt:35:58: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:66:17: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:102:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:143:49: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:405:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:430:17: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:455:33: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:456:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:456:69: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:519:83: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:532:33: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:533:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:533:69: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:657:37: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:662:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:718:37: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:970:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1016:13: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1033:61: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1046:13: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1072:13: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1090:56: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1101:13: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1148:9: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1672:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1672:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1677:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1677:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1682:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1682:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1687:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\MonitorRunnerServiceIT.kt:1694:38: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\ODFERestTestCase.kt:86:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\DestinationRestApiIT.kt:106:59: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\DestinationRestApiIT.kt:110:60: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:299:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:300:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:325:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:326:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:344:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:345:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:416:36: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:432:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:448:21: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:818:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:818:56: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:849:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:849:56: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:876:24: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:877:29: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:1020:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:1133:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\MonitorRestApiIT.kt:1134:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureDestinationRestApiIT.kt:37:9: Multiple annotations should not be placed on the same line as the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureDestinationRestApiIT.kt:38:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureDestinationRestApiIT.kt:49:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureDestinationRestApiIT.kt:58:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureEmailAccountRestApiIT.kt:46:9: Multiple annotations should not be placed on the same line as the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureEmailAccountRestApiIT.kt:47:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureEmailAccountRestApiIT.kt:58:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureEmailAccountRestApiIT.kt:67:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureEmailAccountRestApiIT.kt:103:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureEmailGroupsRestApiIT.kt:48:9: Multiple annotations should not be placed on the same line as the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureEmailGroupsRestApiIT.kt:49:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureEmailGroupsRestApiIT.kt:60:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureEmailGroupsRestApiIT.kt:69:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:61:9: Multiple annotations should not be placed on the same line as the annotated construct (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:62:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:73:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:82:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:90:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:98:58: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:167:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:179:20: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:221:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:233:62: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:693:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:729:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:759:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:768:58: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\resthandler\SecureMonitorRestApiIT.kt:776:46: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:224:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:225:14: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:291:1: Declarations and declarations with comments should have an empty space between. (spacing-between-declarations-with-comments)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:347:18: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:347:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:347:73: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:393:18: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:393:27: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:393:73: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:500:25: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:526:17: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:526:32: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:527:16: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TestHelpers.kt:527:31: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:40:1: Exceeded max line length (140) (cannot be auto-corrected) (max-line-length)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:42:1: Exceeded max line length (140) (cannot be auto-corrected) (max-line-length)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:42:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:42:93: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:42:141: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:42:156: Missing newline before ")" (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:63:1: Exceeded max line length (140) (cannot be auto-corrected) (max-line-length)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:65:1: Exceeded max line length (140) (cannot be auto-corrected) (max-line-length)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:65:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:65:93: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:65:141: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\TriggerServiceTests.kt:65:156: Missing newline before ")" (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AggregationQueryRewriterTests.kt:299:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AggregationQueryRewriterTests.kt:302:33: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AggregationQueryRewriterTests.kt:309:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AggregationQueryRewriterTests.kt:312:33: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AggregationQueryRewriterTests.kt:319:42: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AggregationQueryRewriterTests.kt:322:33: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AnomalyDetectionUtilsTests.kt:35:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AnomalyDetectionUtilsTests.kt:106:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AnomalyDetectionUtilsTests.kt:106:47: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AnomalyDetectionUtilsTests.kt:124:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AnomalyDetectionUtilsTests.kt:124:51: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AnomalyDetectionUtilsTests.kt:144:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\alerting\src\test\kotlin\org\opensearch\alerting\util\AnomalyDetectionUtilsTests.kt:144:77: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\JobSweeper.kt:92:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\JobSweeper.kt:93:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\JobSweeper.kt:94:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\JobSweeper.kt:95:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\JobSweeper.kt:96:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\JobSweeper.kt:97:5: Declarations and declarations with annotations should have an empty space between. (spacing-between-declarations-with-annotations)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\JobSweeper.kt:228:1: First line in a method block should not be empty (no-empty-first-line-in-method-block)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\JobSweeper.kt:341:43: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\JobSweeper.kt:342:40: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:52:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:112:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:112:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:170:21: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:178:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:180:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:197:21: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:200:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:223:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:225:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\ClusterMetricsInput.kt:227:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\DocLevelMonitorInput.kt:72:48: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\DocLevelMonitorInput.kt:75:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\DocLevelMonitorInput.kt:75:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\DocLevelMonitorInput.kt:106:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\DocLevelMonitorInput.kt:106:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\DocLevelQuery.kt:79:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\DocLevelQuery.kt:79:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\DocLevelQuery.kt:117:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\DocLevelQuery.kt:117:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\Schedule.kt:42:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\Schedule.kt:42:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\Schedule.kt:100:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\Schedule.kt:100:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\Schedule.kt:116:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\Schedule.kt:118:17: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\SearchInput.kt:55:9: Annotation must be placed on separate line (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\model\SearchInput.kt:55:20: Annotation with parameter(s) should be placed on a separate line prior to the annotated construct (annotation)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\schedule\JobScheduler.kt:151:40: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerMetrics.kt:41:13: Missing { ... } (multiline-if-else)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerMetrics.kt:42:40: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\ScheduledJobIndices.kt:31:5: Declarations and declarations with comments should have an empty space between. (spacing-between-declarations-with-comments)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:16:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:16:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:22:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:22:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:28:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:28:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:34:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:34:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:40:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:40:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:46:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\LegacyOpenDistroScheduledJobSettings.kt:46:67: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\ScheduledJobSettings.kt:20:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\ScheduledJobSettings.kt:25:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\ScheduledJobSettings.kt:31:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\ScheduledJobSettings.kt:37:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\ScheduledJobSettings.kt:43:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\main\kotlin\org\opensearch\alerting\core\settings\ScheduledJobSettings.kt:49:41: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\model\ScheduleTest.kt:60:43: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\model\ScheduleTest.kt:78:60: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\model\ScheduleTest.kt:96:52: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\model\ScheduleTest.kt:116:61: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:156:35: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:156:39: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:156:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:156:84: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:157:61: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:157:76: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:167:35: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:167:39: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:167:64: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:167:84: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:168:61: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)
C:\Users\Administrator\alerting\core\src\test\kotlin\org\opensearch\alerting\core\schedule\JobSchedulerTest.kt:168:76: Argument should be on a separate line (unless all arguments can fit a single line) (argument-list-wrapping)

> Task :ktlint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ktlint'.
> Process 'command 'C:\Users\Administrator\scoop\apps\temurin17-jdk\17.0.4-101\bin\java.exe'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 7s
1 actionable task: 1 executed

I test on 0.47.0 ktlint and it didnt fail with max-length but introduced a lot of different linting errors, which is expected.
Considering that the main build is already using -x ktlint I will just send a PR to switch to that for now.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants