-
https://github.com/yole/kotlin-style-guide
-
Is it feasible to have a [scheme file](https://metova.com/how-to-import-the-official-android-code-style/) that matches the linting tests we automatically run on Circle? I'm not sure what specific rule…
-
**Before:**
```
class TestA {
companion object {
private const val TAG = "TestA" // 8 spaces indent - should be 4
}
}
```
**After:**
```
class TestA {
companion ob…
-
As of https://github.com/shyiko/ktlint/issues/198, ktlint marks comments not starting with space as an error. kscript, on the other hand, is unable to parse the directive starting with space.
I'm n…
0legg updated
6 years ago
-
First time I'm using spotless, and I would see how it would react on indentation erros for kotlin, it throws an exception so I'm not able to run the formatter.
Android-built-tools:3.2.1
Gradle-ver…
-
### Describe your environment:
* Android Studio version: 3.2.1
* Firebase Component: Authentication
* Component version: 16.0.5
### Describe the problem:
I get a crash when I call Fir…
-
I think the project mostly aligns with this already, but worth a look now that we have a style guide to point to - https://android.github.io/kotlin-guides/style.html
-
There are probably many ways to solve this use case and I can see the summary for this issue being problematic, so I will just describe the use-case.
I'd like to develop plugins locally within a …
-
When updating the project to use Kotlin 1.2.61 or coroutines 0.24.0, the following compilation errors occur
```
[INFO] Scanning for projects...
[INFO] …
-
When you use import as for an import alias, ktlint detects a lint error: Unused import
Sample:
import kotlinx.android.synthetic.main.fragment_searchresultobjects.recyclerview as recyclerView