From 08e9b952dbbf6bf6423fe20cb91295a9268120ed Mon Sep 17 00:00:00 2001 From: Nathen Harvey Date: Mon, 12 Jan 2026 12:50:53 -0500 Subject: [PATCH] style(templates): add trailing newlines to styleguide templates Ensure that styleguide templates comply with POSIX standards by ending with a newline character. This improves compatibility with command-line tools and ensures consistent formatting for generated files. Modified files: - templates/code_styleguides/go.md - templates/code_styleguides/html-css.md - templates/code_styleguides/javascript.md - templates/code_styleguides/python.md - templates/code_styleguides/typescript.md Signed-off-by: Nathen Harvey --- templates/code_styleguides/go.md | 2 +- templates/code_styleguides/html-css.md | 2 +- templates/code_styleguides/javascript.md | 2 +- templates/code_styleguides/python.md | 2 +- templates/code_styleguides/typescript.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/code_styleguides/go.md b/templates/code_styleguides/go.md index 037f024..40dffd2 100644 --- a/templates/code_styleguides/go.md +++ b/templates/code_styleguides/go.md @@ -45,4 +45,4 @@ This document summarizes key rules and best practices from the official "Effecti - **Explicit Error Handling:** Do not discard errors with the blank identifier (`_`). Check for errors explicitly. - **`panic`:** Reserved for truly exceptional, unrecoverable situations. Generally, libraries should not panic. -*Source: [Effective Go](https://go.dev/doc/effective_go)* \ No newline at end of file +*Source: [Effective Go](https://go.dev/doc/effective_go)* diff --git a/templates/code_styleguides/html-css.md b/templates/code_styleguides/html-css.md index 58f9423..74a0932 100644 --- a/templates/code_styleguides/html-css.md +++ b/templates/code_styleguides/html-css.md @@ -46,4 +46,4 @@ This document summarizes key rules and best practices from the Google HTML/CSS S **BE CONSISTENT.** When editing code, match the existing style. -*Source: [Google HTML/CSS Style Guide](https://google.github.io/styleguide/htmlcssguide.html)* \ No newline at end of file +*Source: [Google HTML/CSS Style Guide](https://google.github.io/styleguide/htmlcssguide.html)* diff --git a/templates/code_styleguides/javascript.md b/templates/code_styleguides/javascript.md index cb0e714..123f504 100644 --- a/templates/code_styleguides/javascript.md +++ b/templates/code_styleguides/javascript.md @@ -48,4 +48,4 @@ This document summarizes key rules and best practices from the Google JavaScript - Use `@param`, `@return`, `@override`, `@deprecated`. - Type annotations are enclosed in braces (e.g., `/** @param {string} userName */`). -*Source: [Google JavaScript Style Guide](https://google.github.io/styleguide/jsguide.html)* \ No newline at end of file +*Source: [Google JavaScript Style Guide](https://google.github.io/styleguide/jsguide.html)* diff --git a/templates/code_styleguides/python.md b/templates/code_styleguides/python.md index 285b469..b684577 100644 --- a/templates/code_styleguides/python.md +++ b/templates/code_styleguides/python.md @@ -34,4 +34,4 @@ This document summarizes key rules and best practices from the Google Python Sty **BE CONSISTENT.** When editing code, match the existing style. -*Source: [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html)* \ No newline at end of file +*Source: [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html)* diff --git a/templates/code_styleguides/typescript.md b/templates/code_styleguides/typescript.md index b28c949..c1dbf0b 100644 --- a/templates/code_styleguides/typescript.md +++ b/templates/code_styleguides/typescript.md @@ -40,4 +40,4 @@ This document summarizes key rules and best practices from the Google TypeScript - **Redundancy:** **Do not declare types in `@param` or `@return` blocks** (e.g., `/** @param {string} user */`). This is redundant in TypeScript. - **Add Information:** Comments must add information, not just restate the code. -*Source: [Google TypeScript Style Guide](https://google.github.io/styleguide/tsguide.html)* \ No newline at end of file +*Source: [Google TypeScript Style Guide](https://google.github.io/styleguide/tsguide.html)*