summaryrefslogtreecommitdiff
path: root/site/.prettierrc.yaml
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-09-09 22:08:52 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-09-13 16:15:59 +0200
commite3abcf3ebc677a86fbd2c1d2da7241ac6a52595e (patch)
treefd4748754c63150dc2534552a2fbcafb2478dad9 /site/.prettierrc.yaml
parentfdc3200ef4718eb98bd8a713f956222a9bf85ac9 (diff)
build(site): Use Prettier to format JavaScript
This change updates the build configuration for the OpenDC website to use Prettier to format the JavaScript files for that module.
Diffstat (limited to 'site/.prettierrc.yaml')
-rw-r--r--site/.prettierrc.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/site/.prettierrc.yaml b/site/.prettierrc.yaml
new file mode 100644
index 00000000..9a2b9a95
--- /dev/null
+++ b/site/.prettierrc.yaml
@@ -0,0 +1,5 @@
+trailingComma: "es5"
+tabWidth: 4
+semi: false
+singleQuote: true
+printWidth: 120