-
I have a plain and simple configuration setup. In the root of my AS project I have:
```
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildsc…
-
I'm trying to create a custom rule using Ktlint on a multi-module project. For that, I created a new module just for custom rules. This module is with this configuration:
```jsx
plugins {
id …
-
Moving linter and other scripts to Bazel.
At present we have different tools and scripts for linters.
Replace these with Bazel integrated tools or rules.
For example:
Kotlin (ktlint) - http…
-
In this way we do not have to review for styles issues
-
## Expected Behavior
Our Android project contains many class declarations that look like this:
```kotlin
class Foo @Inject constructor(
private val someDependency: SomeDependency,
…
-
## Expected Behavior of the rule
Let there be two rules:
1. A rule for addressing a general case where there is a Kotlin file with only top-level declarations. The rule checks if such files corres…
-
## Expected Behavior
ktlint should support `//noinspection` and not fail the import ordering when a suppression on an import line is present: https://pinterest.github.io/ktlint/0.50.0/rules/sta…
-
I'm using ktlint [Gradle plugin](https://github.com/JLLeitschuh/ktlint-gradle/tree/main) and have configured some ktlint rules in my project's `.editorconfig` file. This is a multi-module Android proj…
-
### Description
It was requested in #mastodon-client slack channel for documentation regarding code style and coding conventions.
This is just an "issue" to track that and for anyone to offer any …
-
If I write a custom rule in on module and then add it to the `dependencies` of another using `ktlintRuleset(project(":custom-ktlint-rules"))`, then run `gradle :my-module:ktlintCheck` then change the …