Skip to content

Warnings are not displayed inline #6746

@futuretap

Description

@futuretap

New Issue Checklist

Bug Description

I've installed SwiftLint as Xcode build tool plugin. Linter warnings are shown in the build log. However, they're not displayed inline in code as warnings. This worked when I used SwiftLint via Cocoapods. Is that no longer supposed to work?

Environment

  • SwiftLint version 0.63.3
  • Xcode version 26.5.0
  • Installation method used: SPM, Xcode build tool plugin
  • Configuration file:
excluded: # paths to ignore during linting. Takes precedence over `included`.
  - Pods

disabled_rules:
    - vertical_parameter_alignment # https://github.com/realm/SwiftLint/issues/1573
    - force_cast
    - force_try
    - line_length
    - static_over_final_class
    - type_body_length
    - unused_optional_binding

file_length:
  warning: 1500
  error: 2000

function_body_length:
    warning: 80

identifier_name:
    min_length: 1
    allowed_symbols: "_"

cyclomatic_complexity:
    ignores_case_statements: true
    warning: 15
    error: 25

large_tuple:
    warning: 4
    error: 6

function_parameter_count:
    warning: 7

opening_brace:
    ignore_multiline_statement_conditions: true

Are you using nested configurations? No

Metadata

Metadata

Assignees

No one assigned

    Labels

    helpQuestions or user problems that require more explanation rather than code changes.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions