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.
This commit is contained in:
parent
22057e4239
commit
7180c71f2f
2 changed files with 18 additions and 0 deletions
9
.editorconfig
Normal file
9
.editorconfig
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
|
||||
[*.lua]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
9
.prettierrc
Normal file
9
.prettierrc
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"proseWrap": "always",
|
||||
"printWidth": 80,
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"trailingComma": "none",
|
||||
"semi": false,
|
||||
"singleQuote": true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue