Skip to content

docs: explain newLineKind auto and system#3137

Open
fibibot wants to merge 2 commits into
mainfrom
orch/issue-123
Open

docs: explain newLineKind auto and system#3137
fibibot wants to merge 2 commits into
mainfrom
orch/issue-123

Conversation

@fibibot
Copy link
Copy Markdown
Contributor

@fibibot fibibot commented May 17, 2026

Summary

  • Explain how newLineKind: auto and newLineKind: system differ in the formatting option docs.

Verification

  • deno fmt --check runtime/fundamentals/linting_and_formatting.md
  • deno task build:light (completed; this checkout warns about missing generated reference_gen/gen/deno.json, but the build exits successfully)

Fixes #2864
Closes bartlomieju/orchid-inbox#123

@fibibot fibibot changed the title Fix denoland/docs#2864: explain newLineKind auto vs system docs: explain newLineKind auto and system May 17, 2026
Copy link
Copy Markdown
Contributor

@lunadogbot lunadogbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The newLineKind clarification matches Deno 2.7.14 behavior: auto preserved an existing CRLF file in a local deno fmt run, and system emitted LF on this Unix runner. CI is green.

  • nit: last_modified: 2025-12-16 should be bumped for this content addition.

@lunadogbot
Copy link
Copy Markdown
Contributor

@bartlomieju this is ready to merge

Copy link
Copy Markdown
Contributor

@lunadogbot lunadogbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current head only adds the requested last_modified bump on top of the newline-kind text, and CI is green.

@lunadogbot
Copy link
Copy Markdown
Contributor

@bartlomieju this is ready to merge

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.

Feedback: /runtime/fundamentals/linting_and_formatting/ - Needs Improvement

2 participants