-
Notifications
You must be signed in to change notification settings - Fork 70
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 #754 from Kotlin/ktlint-migration
Replacing the linter
- Loading branch information
Showing
804 changed files
with
16,846 additions
and
14,105 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,16 +1,37 @@ | ||
[*] | ||
charset=utf-8 | ||
end_of_line=lf | ||
insert_final_newline=true | ||
indent_style=space | ||
indent_size=4 | ||
max_line_length=120 | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
max_line_length = 120 | ||
|
||
[*.json] | ||
indent_size=2 | ||
indent_size = 2 | ||
|
||
[{*.yaml,*.yml}] | ||
indent_size=2 | ||
indent_size = 2 | ||
|
||
[*.ipynb] | ||
insert_final_newline=false | ||
insert_final_newline = false | ||
|
||
[*.{kt,kts}] | ||
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL | ||
|
||
# Disable wildcard imports entirely | ||
ij_kotlin_name_count_to_use_star_import = 2147483647 | ||
ij_kotlin_name_count_to_use_star_import_for_members = 2147483647 | ||
ij_kotlin_packages_to_use_import_on_demand = unset | ||
|
||
ktlint_code_style = ktlint_official | ||
ktlint_experimental = enabled | ||
ktlint_standard_filename = disabled | ||
ktlint_standard_no-empty-first-line-in-class-body = disabled | ||
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 4 | ||
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 4 | ||
ktlint_standard_chain-method-continuation = disabled | ||
ktlint_ignore_back_ticked_identifier = true | ||
ktlint_standard_multiline-expression-wrapping = disabled | ||
|
||
[{*/build/**/*,**/*keywords*/**,**/*.Generated.kt,**/*$Extensions.kt}] | ||
ktlint = disabled |
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
Oops, something went wrong.