From 4988419b36ccb1c6d2dc1a5df183b4d92619385a Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Tue, 5 Nov 2024 19:21:51 +0100 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..2714053 --- /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;