All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vanniktech.lintrules.rxjava2.IssueRegistry.kt Maven / Gradle / Ivy

There is a newer version: 0.25.0
Show newest version
@file:Suppress("UnstableApiUsage") // We know that Lint APIs aren't final.

package com.vanniktech.lintrules.rxjava2

import com.android.tools.lint.client.api.Vendor
import com.android.tools.lint.detector.api.CURRENT_API

internal const val PRIORITY = 10 // Does not matter anyway within Lint.

class IssueRegistry : com.android.tools.lint.client.api.IssueRegistry() {
  override val api get() = CURRENT_API
  override val minApi get() = 10

  override val vendor get() = Vendor(
    vendorName = "vanniktech/lint-rules/",
    feedbackUrl = "https://github.com/vanniktech/lint-rules/issues",
  )

  override val issues get() = listOf(
    ISSUE_METHOD_MISSING_CHECK_RETURN_VALUE,
    ISSUE_MISSING_COMPOSITE_DISPOSABLE_CLEAR,
    ISSUE_DISPOSABLE_ADD_ALL_CALL,
    ISSUE_DEFAULT_SCHEDULER,
    ISSUE_DISPOSABLE_DISPOSE_CALL,
    ISSUE_SUBSCRIBE_MISSING_ON_ERROR,
    ISSUE_RAW_SCHEDULER_CALL,
  )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy