Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
🚨 Fix Lint warnings and pass linter (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
l2hyunwoo authored Feb 25, 2023
1 parent f5dd25f commit a39a478
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
max_line_length = 140

[*.{kt, kts}]
disabled_rules = import-ordering, no-wildcard-imports, final-newline
ktlint_disabled_rules = import-ordering, no-wildcard-imports, final-newline
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ private fun LoginTextField(
textColor = SoptTheme.colors.onSurface90,
placeholderColor = SoptTheme.colors.onSurface60
),
visualTransformation = if (keyboardType == KeyboardType.Password) PasswordVisualTransformation() else {
visualTransformation = if (keyboardType == KeyboardType.Password) {
PasswordVisualTransformation()
} else {
VisualTransformation.None
},
keyboardOptions = KeyboardOptions(keyboardType = keyboardType),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ private fun SignUpTextField(
textColor = SoptTheme.colors.onSurface90,
placeholderColor = SoptTheme.colors.onSurface60
),
visualTransformation = if (keyboardType == KeyboardType.Password) PasswordVisualTransformation() else {
visualTransformation = if (keyboardType == KeyboardType.Password) {
PasswordVisualTransformation()
} else {
VisualTransformation.None
},
onValueChange = {
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ kotlin.incremental=true
android.nonTransitiveRClass=true
org.gradle.daemon=true
kotlin.incremental.usePreciseJavaTracking=true
org.gradle.unsafe.configuration-cache=true

0 comments on commit a39a478

Please sign in to comment.