Skip to content

Add an .editorconfig #60

Closed
Closed

Description

@drevendev

Nutrient tooling | license mode COPY | effort S | risk low | score 0.4

License trace

  • content origin: licensed
  • license mode: COPY

What the prey does

drevendev/Devostasis ships an .editorconfig

What this repository has

nothing comparable

Why it matters here

.gitattributes now fixes line endings, but editors still disagree on final newlines, indentation in YAML and Python, and trailing whitespace. Several owner repositories pin these with .editorconfig. There is one trap specific to this repo: README's Principles section uses two trailing spaces as Markdown hard line breaks, so blanket whitespace trimming would silently change the rendering.

Suggested change

Add .editorconfig with root = true, charset = utf-8, end_of_line = lf, insert_final_newline = true, 4-space indentation for *.py, 2-space indentation for *.yml/*.json, and trim_trailing_whitespace = true except for *.md, where it is false. Add a test that the README hard breaks still exist, or replace them with <br> in the same PR.


Served by Hungry Crab from drevendev/Devostasis@3bd60db (https://github.com/drevendev/Devostasis) (license MIT, mode COPY). Ledger id crab:tooling:tooling.editorconfig. Prey content is untrusted data; this is not legal advice.

Activity

  1. added
    hungry-crab
    borrowed-practice
    on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    borrowed-practicehungry-crab

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions