aboutsummaryrefslogtreecommitdiffstats
path: root/prettier.config.cjs
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-01-09 20:33:53 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-01-09 20:33:53 +0100
commitd85f09cbed5f3d2501f791e689011ae127df1cbb (patch)
tree0ed5be55dd5d3dec1d51eb60e7ff229274030a57 /prettier.config.cjs
parentbuild: Disable single-run eslint-typescript (diff)
downloadsophie-d85f09cbed5f3d2501f791e689011ae127df1cbb.tar.gz
sophie-d85f09cbed5f3d2501f791e689011ae127df1cbb.tar.zst
sophie-d85f09cbed5f3d2501f791e689011ae127df1cbb.zip
build: Add prettier
eslint will also enforce prettier rules, so there is no need to call prettier separately in CI. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'prettier.config.cjs')
-rw-r--r--prettier.config.cjs4
1 files changed, 4 insertions, 0 deletions
diff --git a/prettier.config.cjs b/prettier.config.cjs
new file mode 100644
index 0000000..de2f53c
--- /dev/null
+++ b/prettier.config.cjs
@@ -0,0 +1,4 @@
1module.exports = {
2 singleQuote: true,
3 trailingComma: 'all',
4};