Skip to content

chore: add .editorconfig for consistent formatting - #7

Open
andrei-hasna wants to merge 1 commit into
mainfrom
factory/4d0be90d-a84e-4b93-85c4-f22a41b4-1705c6da
Open

chore: add .editorconfig for consistent formatting#7
andrei-hasna wants to merge 1 commit into
mainfrom
factory/4d0be90d-a84e-4b93-85c4-f22a41b4-1705c6da

Conversation

@andrei-hasna

@andrei-hasna andrei-hasna commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Objective

chore: add .editorconfig for consistent formatting

Add a standard root .editorconfig to open-models (github.com/hasna/models): root=true, UTF-8, LF line endings, insert a final newline, trim trailing whitespace, 2-space indent for JS/TS/JSON/YAML/MD (preserve trailing whitespace for *.md). Match the repo's prevailing existing style. Do NOT reformat existing files or change product code. Scope: the .editorconfig file only. Open a PR against the def

VERIFIED 2026-07-29 against this repository's HEAD via the GitHub contents API: there is NO .editorconfig in the repo, so this is still needed.
Add the root .editorconfig ONLY. Do NOT reformat any existing file and do NOT touch product code — the diff should be exactly one new file.
Before writing it, inspect the repo's prevailing style (indent width actually used in src/, whether files end with a trailing newline) so the file describes what the repo already does instead of imposing a new one.
Acceptance: bun install succeeds, bun run typecheck (if the repo has one) and bun test are still green, and git diff --stat against the base shows only .editorconfig. No network, no credentials needed.

Verification

  • policy source: base a22e758 (immutable commit — agent-proof)
  • containment: env — allowlist env, non-login shell, run-scoped HOME (registry auth seeded for install)
  • install: pass
  • typecheck: pass
  • build: pass
  • test: pass
  • doctor (ci): ok — 11 checks passed (1 advisory)

Run run_29689e4305e0 · backend codewith · task 4d0be90d-a84e-4b93-85c4-f22a41b4480e
🏭 Generated by @hasnaxyz/factory


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

chore: add .editorconfig for consistent formatting

Add a standard root .editorconfig to open-models (github.com/hasna/models): root=true, UTF-8, LF line endings, insert a final newline, trim trailing whitespace, 2-space indent for JS/TS/JSON/YAML/MD (preserve trailing whitespace for *.md). Match the repo's prevailing existing style. Do NOT reformat existing files or change product code. Scope: the .editorconfig file only. Open a PR against the def

VERIFIED 2026-07-29 against this repository's HEAD via the GitHub contents API: there is NO .editorconfig in the repo, so this is still needed.
Add the root .editorconfig ONLY. Do NOT reformat any existing file and do NOT touch product code — the diff should be exactly one new file.
Before writing it, inspect the repo's prevailing style (indent width actually used in src/, whether files end with a trailing newline) so the file describes what the repo already does instead of imposing a new one.
Acceptance: `bun install` succeeds, `bun run typecheck` (if the repo has one) and `bun test` are still green, and `git diff --stat` against the base shows only .editorconfig. No network, no credentials needed.

X-Factory-Run: run_29689e4305e0
X-Factory-Task: 4d0be90d-a84e-4b93-85c4-f22a41b4480e
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.

1 participant