add .prettierrc

This commit is contained in:
Aminda Suomalainen 2024-06-20 09:03:26 +03:00
parent d16a3be24c
commit 82d655dea0
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 10 additions and 0 deletions

View File

@ -9,5 +9,8 @@ indent_style = space
indent_size = 2
max_line_length = 78
[.prettierrc]
indent_style = tab
[{LICENSE,*.{markdown,md}}]
trim_trailing_whitespace = false

7
.prettierrc Normal file
View File

@ -0,0 +1,7 @@
{
"insertPragma": true,
"proseWrap": "always",
"singleAttributePerLine": true,
"plugins": ["prettier-plugin-sh"],
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
}