-
Notifications
You must be signed in to change notification settings - Fork 63
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
Replacing the linter #754
Merged
Merged
Replacing the linter #754
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
2320a28
replaced kotlinter by jlleitschuh's ktlint plugin
Jolanrensen f38b671
enabling formatting generated-sources after it processKDocsMain runs
Jolanrensen 0bf30ae
updating the contribution guide with ktlint information (as well as t…
Jolanrensen 813d270
ktlint automatic reformatting
Jolanrensen 0c66782
cleaned samples/api files and made sure ktlint will ignore them in th…
Jolanrensen f5eebe1
ktlint: manual fixes
Jolanrensen f5b1e93
updating generated-sources
Jolanrensen 14afe91
Merge branch 'master' into ktlint-migration
Jolanrensen f6ee8d5
disabling standard_chain-method-continuation
Jolanrensen a0c1a18
fixup! ktlint: manual fixes
Jolanrensen 2dd54c6
fixup! updating generated-sources
Jolanrensen ebd84be
fixup! fixup! ktlint: manual fixes
Jolanrensen 7eac7ce
Merge branch 'master' into ktlint-migration
Jolanrensen 66beb7d
ktlint: manual fixes after merging master
Jolanrensen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's with the formatting here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a double indent