Skip to content

Keep warning-level ShellCheck profile clean #146

Description

@codeforester

Problem

tests/lint-warnings.sh currently reports a warning in lib/bash/file/lib_file.sh:

SC2034: end_marker_count appears unused

The canonical ./tests/validate.sh gate still passes because it runs ShellCheck at error severity, but the warning-level profile is intended to remain useful as a clean review signal.

Fix

Remove or intentionally consume the unused local in file_section_needs_update and add a validation guard if needed so warning-level lint stays clean.

Validation

  • tests/lint-warnings.sh
  • ./tests/validate.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciContinuous integration, tests, automation, or release workflows

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions