From 48b112f98baea78b63a5245e904d7b51fa32d618 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 1 Sep 2024 21:53:53 +0200 Subject: [PATCH] build: add Prettier configuration --- prettier.config.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 prettier.config.js diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 0000000..5a23657 --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,15 @@ +// prettier.config.js, .prettierrc.js, prettier.config.cjs, or .prettierrc.cjs + +/** + * @see https://prettier.io/docs/en/configuration.html + * @type {import("prettier").Config} + */ +const config = { + trailingComma: "none", + tabWidth: 2, + semi: true, + singleQuote: false, + endOfLine: "lf" +}; + +module.exports = config; \ No newline at end of file