From 7180c71f2f47dc190d191f6f9e8e4987ae1c0d9e Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 22 Feb 2026 16:00:39 -0500 Subject: [PATCH] build: add editorconfig and prettierrc Problem: no editor or formatter configuration, inconsistent with cp.nvim and diffs.nvim conventions. Solution: add .editorconfig (2-space Lua indent, utf-8, final newline) and .prettierrc (prose wrap, 80 cols, single quotes, no semi) matching the other repos. --- .editorconfig | 9 +++++++++ .prettierrc | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 .editorconfig create mode 100644 .prettierrc diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..b9de190 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +insert_final_newline = true +charset = utf-8 + +[*.lua] +indent_style = space +indent_size = 2 diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..0663621 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,9 @@ +{ + "proseWrap": "always", + "printWidth": 80, + "tabWidth": 2, + "useTabs": false, + "trailingComma": "none", + "semi": false, + "singleQuote": true +}