File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [* ]
2+ charset = utf-8
3+ end_of_line = lf
4+ indent_size = 4
5+ indent_style = space
6+ insert_final_newline = true
7+ max_line_length = 120
8+ tab_width = 4
9+ trim_trailing_whitespace = true
10+
11+ [* .{kt,kts} ]
12+ ktlint_standard_package-name = disabled
13+ ktlint_standard_function-naming = disabled
14+ ktlint_standard_no-wildcard-imports = disabled
15+ ktlint_standard_property-naming = disabled
16+ ktlint_standard_value-parameter-comment = disabled
17+ ktlint_standard_backing-property-naming = disabled
Original file line number Diff line number Diff line change 1+ # See https://pre-commit.com for more information
2+ # See https://pre-commit.com/hooks.html for more hooks
3+
4+ ci :
5+ autofix_commit_msg : " [pre-commit.ci] auto fixes from pre-commit.com hooks"
6+ autofix_prs : true
7+ autoupdate_commit_msg : " [pre-commit.ci] pre-commit autoupdate"
8+ autoupdate_schedule : weekly
9+
10+ repos :
11+ - repo : https://github.com/pre-commit/pre-commit-hooks
12+ rev : v4.5.0
13+ hooks :
14+ - id : trailing-whitespace
15+ - id : end-of-file-fixer
16+ - id : check-yaml
17+ - id : check-added-large-files
18+
19+ - repo : https://github.com/pinterest/ktlint
20+ rev : 1.5.0
21+ hooks :
22+ - id : ktlint
23+ args : ["--android"]
Original file line number Diff line number Diff line change @@ -13,16 +13,6 @@ subprojects {
1313 target(" **/*.kt" )
1414 targetExclude(" **/build/**" )
1515 ktlint(" 1.5.0" )
16- .editorConfigOverride(
17- mapOf (
18- " ktlint_standard_package-name" to " disabled" ,
19- " ktlint_standard_function-naming" to " disabled" ,
20- " ktlint_standard_no-wildcard-imports" to " disabled" ,
21- " ktlint_standard_property-naming" to " disabled" ,
22- " ktlint_standard_value-parameter-comment" to " disabled" ,
23- " ktlint_standard_backing-property-naming" to " disabled"
24- )
25- )
2616 }
2717 kotlinGradle {
2818 target(" **/*.gradle.kts" )
You can’t perform that action at this time.
0 commit comments