-
Notifications
You must be signed in to change notification settings - Fork 30
/
.editorconfig
47 lines (40 loc) · 1.77 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
root = true
# The basic settings will be used by
# - prettier: https://github.com/prettier/prettier/issues/15255#issuecomment-1801339582
# EsLint will respect the prettier settings, but does not apply them. This is by design
# - to verify that the eslint rules do not interfere with the eslint setting use npm run lint:checkRules in visualization
# lint-stages in visualization
# - will be executed through husky's pre-commit hook, running the linter on all stages files in visualization
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 140
quote_type = double
ij_typescript_use_double_quotes = true
ij_javascript_use_double_quotes = true
[*.md]
indent_size = 2
[*.json]
indent_size = 2
[*.{kt,kts}]
ktlint_code_style = ktlint_official
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
ktlint_function_signature_body_expression_wrapping = default
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 5
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = 5
ktlint_chain_method_rule_force_multiline_when_chain_operator_count_greater_or_equal_than = 5
ktlint_argument_list_wrapping_ignore_when_parameter_count_greater_or_equal_than = 8
ktlint_standard_no-empty-class-body = disabled
ktlint_standard_no-unit-return = disabled
ktlint_standard_multiline-expression-wrapping = disabled
ktlint_standard_string-template-indent = disabled
ij_kotlin_allow_trailing_comma_on_call_site = false
ij_kotlin_allow_trailing_comma = false
# 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