We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am getting a weird exception even though my code is well formatted. Please feel free to close if any open PR intends to fix a similar issue.
Ktlint won't fail
Ktlint will fail
fun myFunc(myClass: MyClass) = with(myClass) { myVar = MyClass( image = "", timestamp = "", location = "", videoUrl = "" ) }
class MyFragment : Fragment(R.layout.myFragment) { private var _binding: MyFragmentBinding? = null private val binding get() = _binding!! override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) _binding = MyFragmentBinding.bind(view) binding.myTextView.text = getString( R.string.myString, myArg ) } }
./gradlew ktlintFormat
Unexpected indentation (expected 8, actual 12)
The text was updated successfully, but these errors were encountered:
Update changelog for "fix false positive indentation (`parameter-list…
59f3693
…-wrapping`)" Closes pinterest#1267, pinterest#1119, pinterest#1045, pinterest#1255, pinterest#1319, pinterest#1320, pinterest#897, pinterest#1337
Closed by #1284
Sorry, something went wrong.
No branches or pull requests
I am getting a weird exception even though my code is well formatted. Please feel free to close if any open PR intends to fix a similar issue.
Expected Behavior
Ktlint won't fail
Observed Behavior
Ktlint will fail
Steps to Reproduce
./gradlew ktlintFormat
Your Environment
The text was updated successfully, but these errors were encountered: