- generate detekt config - enable several rules - disable ktlint backing property check ## Motivation and Context Centralized control of detekt rules. Using detekt 2 configuration ## How Has This Been Tested? locally ## Breaking Changes - ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist - [x] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [x] My code follows the repository's style guidelines - [x] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed
38 lines
No EOL
1.1 KiB
INI
38 lines
No EOL
1.1 KiB
INI
root = true
|
|
|
|
[*]
|
|
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
|
|
|
|
[{*.yaml,*.yml}]
|
|
indent_size = 2
|
|
|
|
[*.{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 = intellij_idea
|
|
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_backing-property-naming = disabled
|
|
ktlint_standard_multiline-expression-wrapping = disabled
|
|
ktlint_standard_when-entry-bracing = disabled
|
|
|
|
[*/build/**/*]
|
|
ktlint = disabled |