Package

scalafix

lint

Permalink

package lint

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. lint
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Diagnostic extends AnyRef

    Permalink

    A linter message reporting a code style violation.

    A linter message reporting a code style violation.

    It's idiomatic to implement a custom class that extends this trait for each unique category of linting messages. For example, if you have an "unused code" linter then you might want to create a class UnusedCode extends Diagnostic class with the appropriate context.

    Expensive values such as the message and explanation can be computed on-demand.

    Note

    for a Diagnostic that is associated with a specific rule use scalafix.lint.RuleDiagnostic.

  2. final case class LintID(rule: String, category: String) extends Product with Serializable

    Permalink

    A unique identifier for this category of lint diagnostics

    A unique identifier for this category of lint diagnostics

    The contract of id is that all diagnostics of the same "category" will have the same id. For example, the DisableSyntax rule has a unique ID for each category such as "noSemicolon" or "noTabs".

    rule

    the name of the rule that produced this diagnostic.

    category

    the sub-category within this rule, if any. Empty if the rule only reports diagnostics of a single category.

  3. sealed abstract class LintSeverity extends AnyRef

    Permalink
  4. final class RuleDiagnostic extends AnyRef

    Permalink

    A diagnostic that has been associated with a rule.

  5. type LintCategory = v0.LintCategory

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use Diagnostic instead

  6. type LintMessage = v0.LintMessage

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use Diagnostic instead

Value Members

  1. object Diagnostic

    Permalink
  2. object LintID extends Serializable

    Permalink
  3. object LintSeverity

    Permalink
  4. object RuleDiagnostic

    Permalink

Deprecated Value Members

  1. val LintCategory: v0.LintCategory.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use Diagnostic instead

  2. val LintMessage: v0.LintMessage.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use Diagnostic instead

Inherited from AnyRef

Inherited from Any

Ungrouped