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

fix spotless linter errors #2969

Closed
wants to merge 3 commits into from
Closed

Conversation

icemachined
Copy link
Member

No description provided.

elem.hrefAnchor,
props.location
)
elem.hrefAnchor,

Check failure

Code scanning / ktlint

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 44 but was 40 Error

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 44 but was 40
props.location
)
elem.hrefAnchor,
props.location

Check failure

Code scanning / ktlint

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 44 but was 40 Error

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 44 but was 40
)
elem.hrefAnchor,
props.location
)

Check failure

Code scanning / ktlint

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 40 but was 36 Error

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 40 but was 36
@@ -92,7 +92,7 @@
val testSuitesFromBackend: List<TestSuiteVersioned> = get(
url = "$apiUrl/test-suites/${props.currentOrganizationName}/filtered${
filters.copy(language = encodeURIComponent(filters.language))
.toQueryParams("isContest" to "${props.selectorPurpose == CONTEST}")
.toQueryParams("isContest" to "${props.selectorPurpose == CONTEST}")

Check failure

Code scanning / ktlint

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 24 but was 20 Error test

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 24 but was 20
elem.hrefAnchor,
props.location
)
elem.hrefAnchor,

Check failure

Code scanning / ktlint

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 44 but was 40 Error

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 44 but was 40
props.location
)
elem.hrefAnchor,
props.location

Check failure

Code scanning / ktlint

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 44 but was 40 Error

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 44 but was 40
)
elem.hrefAnchor,
props.location
)

Check failure

Code scanning / ktlint

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 40 but was 36 Error

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 40 but was 36
@@ -145,7 +145,7 @@
td {
+"${
cellContext.value?.let { Instant.fromEpochSeconds(it, 0) }
?: "Running"
?: "Running"

Check failure

Code scanning / ktlint

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 36 but was 32 Error

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 36 but was 32
@@ -155,7 +155,7 @@
td {
+"${
cellContext.value?.let { Instant.fromEpochSeconds(it, 0) }
?: "Running"
?: "Running"

Check failure

Code scanning / ktlint

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 36 but was 32 Error

[WRONG_INDENTATION] only spaces are allowed for indentation and each indentation should equal to 4 spaces (tabs are not allowed): expected 36 but was 32
@0x6675636b796f75676974687562
Copy link
Member

Apparently, either Diktat configuration or versions are different when running the build locally vs via GitHub Actions.

The workaround when building locally is to skip the spotlessKotlinCheck task:

./gradlew build -x spotlessKotlinCheck

auto-merge was automatically disabled October 31, 2024 12:27

Pull request was closed

@icemachined icemachined deleted the bugfix/ice/spotlessfixes branch October 31, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants