Repository navigation
chore: add the shared .editorconfig - #112
Closed
alexgrozav wants to merge 1 commit into
Closed
alexgrozav wants to merge 1 commit into
alexgrozav wants to merge 1 commit into
Conversation
This is a copy of the canonical .editorconfig in uxfront-com/.github, byte for byte. It sets UTF-8, LF line endings, two-space indents, a final newline and trimmed trailing whitespace (kept in Markdown), so editors follow the same whitespace rules as the formatter in the files it skips. It matches @uxfront/oxfmt-config, which keeps oxfmt's defaults. Co-authored-by: multica-agent <github@multica.ai>
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://editorconfig-uxf-1026.opencomponents.dev, https://editorconfig-uxf-1026-opencomponents.uxfront.workers.dev (commit 05ef2e8)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
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.
What changed
Adds
.editorconfigat the root, so editors follow the same whitespace rules as the formatter in files it skips: UTF-8, LF line endings, two-space indents, a final newline and trimmed trailing whitespace, except in Markdown, where a trailing double space is a line break.It's a byte-for-byte copy of the shared file whose canonical copy lives in
uxfront-com/.github(Git blob96a3987b71444d62eb43daca3c709066dc3b82f0). It matches@uxfront/oxfmt-config, which keeps oxfmt's defaults. To change it, change the canonical copy first, then copy it here.The formatter's output doesn't change. This repository has no
formatscript, so I rannpx -y oxfmt@0.70.0 .with and without the file and compared the two diffs:It prints
SAME. Both diffs are 49,011 lines over 314 files, since plain oxfmt already rewrites those files onmainwith or without this file. Nothing is reformatted here. Withindent_size = 4instead, the diff changes (467 files), so oxfmt does read the file.No changelog entry, since readers of the site see no change.
Checklist
feat(docs): add the focus guideline.pnpm check-typespasses. (It fails onmaintoo, with the same three errors inside@uxfront/layer-docs@0.9.0, as CI's Type-check onmaindoes. This PR changes no code.)pnpm dev. (No docs changes.)pnpm build, thenpnpm lighthouse, still scores 100 in every category. (No homepage changes.)