add .prettierrc
This commit is contained in:
parent
d16a3be24c
commit
82d655dea0
|
@ -9,5 +9,8 @@ indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
max_line_length = 78
|
max_line_length = 78
|
||||||
|
|
||||||
|
[.prettierrc]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
[{LICENSE,*.{markdown,md}}]
|
[{LICENSE,*.{markdown,md}}]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"insertPragma": true,
|
||||||
|
"proseWrap": "always",
|
||||||
|
"singleAttributePerLine": true,
|
||||||
|
"plugins": ["prettier-plugin-sh"],
|
||||||
|
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
||||||
|
}
|
Loading…
Reference in New Issue