From e68c6816d8f80dee3ca3f725ed26fbf540b42915 Mon Sep 17 00:00:00 2001 From: fibibot Date: Sun, 17 May 2026 00:19:35 +0000 Subject: [PATCH 1/2] docs: explain newLineKind auto and system --- runtime/fundamentals/linting_and_formatting.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/fundamentals/linting_and_formatting.md b/runtime/fundamentals/linting_and_formatting.md index 29487772d..43781debf 100644 --- a/runtime/fundamentals/linting_and_formatting.md +++ b/runtime/fundamentals/linting_and_formatting.md @@ -176,6 +176,10 @@ The newline character to use - **Default:** `lf` - **Possible values:** `auto`, `crlf`, `lf`, `system` +Use `auto` to preserve the file's existing newline style when Deno can detect +one. Use `system` to use the current operating system's default newline style, +which is `crlf` on Windows and `lf` on Unix-like systems. + #### `nextControlFlowPosition` Define position of next control flow From f8c844c4b10c0c1c5dcceb546a9ca1d673988ed2 Mon Sep 17 00:00:00 2001 From: fibibot Date: Sun, 17 May 2026 04:10:28 +0000 Subject: [PATCH 2/2] docs: bump linting page modified date --- runtime/fundamentals/linting_and_formatting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/fundamentals/linting_and_formatting.md b/runtime/fundamentals/linting_and_formatting.md index 43781debf..3e14e8348 100644 --- a/runtime/fundamentals/linting_and_formatting.md +++ b/runtime/fundamentals/linting_and_formatting.md @@ -1,5 +1,5 @@ --- -last_modified: 2025-12-16 +last_modified: 2026-05-17 title: "Linting and formatting" description: "A guide to Deno's built-in code quality tools. Learn how to use deno lint and deno fmt commands, configure rules, integrate with CI/CD pipelines, and maintain consistent code style across your projects." ---