feat: enhance .editorconfig and add .gitattributes#28
Merged
davebulaval merged 2 commits intomainfrom Feb 25, 2026
Merged
Conversation
- 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>
3cc5572 to
fb69142
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Supersedes superlinear-ai#328 — fixes the issues from the community PR:
template/instead of{{ cookiecutter.__project_name_kebab_case }}/.editorconfig: One already existed in the templatemax_line_length: feat: add .editorconfig and .gitattributes for consistent file formatting superlinear-ai/substrate#328 used88, Baseline convention is99Changes:
.editorconfig: addmax_line_length = 99, web file types,.sh/.batline endings.gitattributesfor consistent line ending normalization across OSCloses superlinear-ai#327
Test plan
cookiecutter .and verify.editorconfigand.gitattributesare generated in the output project.editorconfighasmax_line_length = 99for Python files.gitattributesnormalizes line endings correctly🤖 Generated with Claude Code