-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #547 from hannesa2/ktlint-12.1.0
ktlint 12.1.0
- Loading branch information
Showing
20 changed files
with
65 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,42 @@ | ||
[*] | ||
max_line_length = 150 | ||
|
||
[*.{kt, kts}] | ||
ktlint_disabled_rules=argument-list-wrapping,wrapping,multiline-if-else,no-consecutive-blank-lines,no-wildcard-imports,import-ordering,max-line-length,import-ordering,no-blank-line-before-rbrace,final-newline,indent,no-multi-spaces,comment-spacing,parameter-list-wrapping | ||
ktlint_standard = enabled # Disable all rules from the `standard` rule set provided by KtLint | ||
ktlint_standard_no-empty-first-line-in-class-body = disabled | ||
ktlint_standard_chain-method-continuation = disabled | ||
ktlint_standard_no-blank-line-before-rbrace = disabled | ||
ktlint_standard_no-wildcard-imports = disabled | ||
ktlint_standard_function-signature = disabled | ||
ktlint_standard_class-signature = disabled | ||
ktlint_standard_property-naming = disabled | ||
ktlint_standard_multiline-expression-wrapping = disabled | ||
ktlint_standard_blank-line-before-declaration = disabled | ||
ktlint_standard_function-expression-body = disabled | ||
ktlint_standard_no-consecutive-blank-lines = disabled | ||
ktlint_standard_string-template-indent = disabled | ||
ktlint_standard_wrapping = disabled | ||
ktlint_standard_trailing-comma-on-call-site = disabled | ||
ktlint_standard_trailing-ktlint_trailing-comma-on-call-site = disabled | ||
ktlint_standard_trailing-comma-on-declaration-site = disabled | ||
ktlint_standard_trailing-trailing-comma-on-call-site = disabled | ||
ktlint_standard_final-newline = enabled | ||
ktlint_standard_comment-spacing = disabled | ||
ktlint_standard_argument-list-wrapping = disabled | ||
ktlint_standard_indent = disabled | ||
ktlint_standard_if-else-bracing = disabled | ||
ktlint_standard_if-else-wrapping = disabled | ||
ktlint_standard_import-ordering = disabled | ||
ktlint_standard_multiline-if-else = disabled | ||
ktlint_standard_parameter-list-wrapping = disabled | ||
ktlint_standard_discouraged-comment-location = disabled | ||
ktlint_standard_enum-wrapping = disabled | ||
ktlint_standard_annotation = disabled | ||
ktlint_standard_no-consecutive-comments = disabled | ||
ktlint_standard_block-comment-initial-star-alignment = disabled | ||
ktlint_standard_parameter-list-spacing = disabled | ||
ktlint_standard_comment-wrapping = disabled | ||
ktlint_experimental = enabled # Enable rules marked as experimental for all rule sets that are enabled | ||
ktlint_standard_some-experimental-rule = disabled # Disables the (experimental) `some-experimental-rule` in the `standard` rule set provided by KtLint | ||
ktlint_custom-rule-set = enabled # Enable all rules in the `custom-rule-set` rule set (not provided by KtLint) | ||
ktlint_custom-rule-set_custom-rule = disabled # Disables the `custom-rule` rule in the `custom-rule-set` rule set (not provided by KtLint) | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ jobs: | |
with: | ||
distribution: 'adopt' | ||
java-version: 17 | ||
- uses: gradle/wrapper-validation-action@v1 | ||
- name: Install Android SDK | ||
uses: hannesa2/action-android/[email protected] | ||
- name: Run tests | ||
|
@@ -83,4 +84,6 @@ jobs: | |
if: ${{ always() }} | ||
with: | ||
name: MQTT-Lint-report | ||
path: ./**/build/reports/lint-results*.html | ||
path: | | ||
./**/build/reports/lint-results*.html | ||
./**/build/reports/ktlint/ktlintMainSourceSetCheck/ktlintMainSourceSetCheck.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ class StrictApplication : LoggingApplication() { | |
.build() | ||
) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,4 +78,4 @@ class PublishFragment : Fragment() { | |
companion object { | ||
var DEFAULT_TOPIC = "/test" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ enum class Ack { | |
* to [MqttAndroidClient] using [MqttAndroidClient.acknowledgeMessage] | ||
*/ | ||
MANUAL_ACK | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,4 +57,4 @@ class ParcelableMqttMessage : MqttMessage, Parcelable { | |
return arrayOfNulls(size) | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters