diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 20:33:53 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 20:33:53 +0100 |
commit | d85f09cbed5f3d2501f791e689011ae127df1cbb (patch) | |
tree | 0ed5be55dd5d3dec1d51eb60e7ff229274030a57 /prettier.config.cjs | |
parent | build: Disable single-run eslint-typescript (diff) | |
download | sophie-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.cjs | 4 |
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 @@ | |||
1 | module.exports = { | ||
2 | singleQuote: true, | ||
3 | trailingComma: 'all', | ||
4 | }; | ||