commit | b08ddf77bc0de035ce8fffe8a3b54b0683eacb5f | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Tue Dec 06 08:56:31 2022 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Dec 12 20:27:52 2022 +0000 |
tree | b004b597d2928e3003c4afc3f4f3c21903d392b3 | |
parent | e0df3058ce7fa9a2ae88bf6bf549a2824ec7d879 [diff] [blame] |
format-code: enable prettier prettier is a formatter for YAML, JSON, Markdown, etc. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7a47d02ef7382d811423b97a88132aa92b991eed
diff --git a/config/prettierrc.yaml b/config/prettierrc.yaml new file mode 100644 index 0000000..a69b879 --- /dev/null +++ b/config/prettierrc.yaml
@@ -0,0 +1,7 @@ +tabWidth: 4 +printWidth: 80 +proseWrap: "always" +overrides: + - files: "*.md" + options: + tabWidth: 2