summaryrefslogtreecommitdiffstats
path: root/.prettierrc.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.prettierrc.yaml')
-rw-r--r--.prettierrc.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.prettierrc.yaml b/.prettierrc.yaml
new file mode 100644
index 0000000..906d3d6
--- /dev/null
+++ b/.prettierrc.yaml
@@ -0,0 +1,18 @@
+---
+proseWrap: always
+jsonRecursiveSort: true # prettier-plugin-sort-json
+tabWidth: 2
+useTabs: false
+overrides:
+ - files:
+ - "*.md"
+ options:
+ # compatibility with markdownlint
+ proseWrap: always
+ printWidth: 80
+ - files:
+ - "*.yaml"
+ - "*.yml"
+ options:
+ # compatibility with yamllint
+ proseWrap: preserve