Skip to content

feat: enhance .editorconfig and add .gitattributes#28

Merged
davebulaval merged 2 commits intomainfrom
feat/editorconfig-gitattributes
Feb 25, 2026
Merged

feat: enhance .editorconfig and add .gitattributes#28
davebulaval merged 2 commits intomainfrom
feat/editorconfig-gitattributes

Conversation

@davebulaval
Copy link
Copy Markdown

Summary

Supersedes superlinear-ai#328 — fixes the issues from the community PR:

Changes:

  • Enhance existing .editorconfig: add max_line_length = 99, web file types, .sh/.bat line endings
  • Add .gitattributes for consistent line ending normalization across OS

Closes superlinear-ai#327

Test plan

  • Run cookiecutter . and verify .editorconfig and .gitattributes are generated in the output project
  • Verify .editorconfig has max_line_length = 99 for Python files
  • Verify .gitattributes normalizes line endings correctly

🤖 Generated with Claude Code

davebulaval and others added 2 commits February 24, 2026 19:44
- Add max_line_length = 99 to .editorconfig (Baseline convention)
- Add web file types (css, html, js, jsx, ts, tsx) to indent rules
- Add .sh (LF) and .bat (CRLF) line ending rules
- Add .gitattributes for consistent line ending normalization

Closes superlinear-ai#327

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The cruft create command generates a .cruft.json with a commit hash
that detect-secrets flags as a "Hex High Entropy String" false positive.
This was causing the Integration CI to fail on every PR.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@davebulaval davebulaval force-pushed the feat/editorconfig-gitattributes branch from 3cc5572 to fb69142 Compare February 25, 2026 00:45
@davebulaval davebulaval merged commit c4711d9 into main Feb 25, 2026
5 checks passed
@davebulaval davebulaval deleted the feat/editorconfig-gitattributes branch February 25, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature request]Add .editorconfig and .gitattributes for workspace consistency

1 participant