From c10ecb57ad10b9bf2493e98d66654677eb8009c5 Mon Sep 17 00:00:00 2001 From: "James R. Cogley" Date: Wed, 15 Apr 2026 22:15:57 +0900 Subject: [PATCH] chore: add quality tooling (editorconfig, prettier, markdownlint) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds standard quality configs matching eSolia consumer repo conventions: - .editorconfig (2-space, UTF-8, LF) - .prettierrc (single quotes, 100 width, no trailing commas) - .prettierignore (excludes build outputs, lockfiles) - .markdownlint.yml (CJK-aware, relaxed line length for docs) Closes #10 InfoSec: no security impact — tooling configuration only --- .editorconfig | 16 ++++++++++++++++ .markdownlint.yml | 19 +++++++++++++++++++ .prettierignore | 6 ++++++ .prettierrc | 9 +++++++++ 4 files changed, 50 insertions(+) create mode 100644 .editorconfig create mode 100644 .markdownlint.yml create mode 100644 .prettierignore create mode 100644 .prettierrc diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..659da70 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# EditorConfig — https://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..5a93747 --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,19 @@ +# Markdownlint config +# CJK-aware punctuation support for bilingual content + +default: true + +MD013: + line_length: 200 + heading_line_length: 120 + code_block_line_length: 200 + +MD033: false +MD034: false +MD036: false + +MD024: + siblings_only: true + +MD026: + punctuation: ".,;:!。,;:!" diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..eb05d1e --- /dev/null +++ b/.prettierignore @@ -0,0 +1,6 @@ +node_modules/ +dist/ +_site/ +.wrangler/ +*.min.js +deno.lock diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..f44db69 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,9 @@ +{ + "useTabs": false, + "tabWidth": 2, + "singleQuote": true, + "trailingComma": "none", + "printWidth": 100, + "semi": true, + "endOfLine": "lf" +}