Skip to content

chore(gitattributes): enforce LF endings for scripts and web assets #254

Description

@karagozemin

Problem

The repository enforces LF endings for several source formats but omits shell scripts, workflow YAML, CSS, and HTML. Those files can acquire CRLF endings and break shell execution or create noisy diffs.

Task

Extend the existing attributes rules to cover the omitted first-party text formats.

Acceptance criteria

  • Shell, YAML, CSS, and HTML files are explicitly normalized to LF.
  • Existing attribute rules remain unchanged.
  • No source file is reformatted in this PR.

Suggested implementation prompt

Add LF text rules for the omitted script, workflow, and web text formats to the attributes file, verify the rules with Git, and do not renormalize unrelated files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions